#include <tensor_product_space.h>
Public Member Functions | |
TensorProductSpaceParameters () | |
![]() | |
ParameterAcceptor (const std::string §ion_name="") | |
unsigned int | get_acceptor_id () const |
virtual | ~ParameterAcceptor () override |
virtual void | declare_parameters (ParameterHandler &prm) |
virtual void | parse_parameters (ParameterHandler &prm) |
std::string | get_section_name () const |
std::vector< std::string > | get_section_path () const |
void | add_parameter (const std::string &entry, ParameterType ¶meter, const std::string &documentation="", ParameterHandler &prm_=prm, const Patterns::PatternBase &pattern=*Patterns::Tools::Convert< ParameterType >::to_pattern()) |
void | enter_subsection (const std::string &subsection) |
void | leave_subsection () |
void | enter_my_subsection (ParameterHandler &prm) |
void | leave_my_subsection (ParameterHandler &prm) |
void | serialize (Archive &ar, const unsigned int version) |
unsigned int | n_subscriptions () const |
void | list_subscribers (StreamType &stream) const |
void | list_subscribers () const |
unsigned int | n_subscriptions () const |
void | list_subscribers (StreamType &stream) const |
void | list_subscribers () const |
![]() | |
EnableObserverPointer () | |
EnableObserverPointer (const EnableObserverPointer &) | |
EnableObserverPointer (EnableObserverPointer &&) noexcept | |
virtual | ~EnableObserverPointer () |
EnableObserverPointer & | operator= (const EnableObserverPointer &) |
EnableObserverPointer & | operator= (EnableObserverPointer &&) noexcept |
void | serialize (Archive &ar, const unsigned int version) |
unsigned int | n_subscriptions () const |
void | list_subscribers (StreamType &stream) const |
void | list_subscribers () const |
unsigned int | n_subscriptions () const |
void | list_subscribers (StreamType &stream) const |
void | list_subscribers () const |
Public Attributes | |
ReferenceCrossSectionParameters< cross_section_dim, spacedim, n_components > | section |
unsigned int | fe_degree = 1 |
unsigned int | n_q_points = 0 |
double | thickness = 0.01 |
std::string | thickness_field_name = "" |
std::string | reduced_grid_name = "" |
Name of the grid to read from a file. | |
![]() | |
boost::signals2::signal< void()> | declare_parameters_call_back |
boost::signals2::signal< void()> | parse_parameters_call_back |
Static Public Attributes | |
static constexpr int | cross_section_dim = dim - reduced_dim |
![]() | |
static ParameterHandler | prm |
Additional Inherited Members | |
![]() | |
static void | initialize (const std::string &filename="", const std::string &output_filename="", const ParameterHandler::OutputStyle output_style_for_output_filename=ParameterHandler::Short, ParameterHandler &prm=ParameterAcceptor::prm, const ParameterHandler::OutputStyle output_style_for_filename=ParameterHandler::DefaultStyle) |
static void | initialize (std::istream &input_stream, ParameterHandler &prm=ParameterAcceptor::prm) |
static void | clear () |
static void | parse_all_parameters (ParameterHandler &prm=ParameterAcceptor::prm) |
static void | declare_all_parameters (ParameterHandler &prm=ParameterAcceptor::prm) |
static ::ExceptionBase & | ExcInUse (int arg1, std::string arg2, std::string arg3) |
static ::ExceptionBase & | ExcNoSubscriber (std::string arg1, std::string arg2) |
![]() | |
static ::ExceptionBase & | ExcInUse (int arg1, std::string arg2, std::string arg3) |
static ::ExceptionBase & | ExcNoSubscriber (std::string arg1, std::string arg2) |
![]() | |
const std::string | section_name |
std::vector< std::string > | subsections |
A structure to hold parameters for a tensor product space.
This structure is used to define the parameters required for constructing a tensor product space, including the dimensionality, refinement level, finite element degree, and reference cross-section parameters.
reduced_dim | The reduced dimensionality of the tensor product space. |
dim | The full dimensionality of the tensor product space. |
spacedim | The spatial dimensionality of the embedding space. |
n_components | The number of components in the tensor product space. |
Definition at line 57 of file tensor_product_space.h.
TensorProductSpaceParameters< reduced_dim, dim, spacedim, n_components >::TensorProductSpaceParameters | ( | ) |
Default constructor.
Initializes the parameters for the tensor product space with default values.
Definition at line 33 of file tensor_product_space.cc.
References ParameterAcceptor::add_parameter(), fe_degree, n_q_points, ParameterAcceptor::ParameterAcceptor(), reduced_grid_name, thickness, and thickness_field_name.
|
staticconstexpr |
The dimensionality of the cross-section.
This is computed as the difference between the full dimensionality (dim
) and the reduced dimensionality (reduced_dim
).
Definition at line 73 of file tensor_product_space.h.
unsigned int TensorProductSpaceParameters< reduced_dim, dim, spacedim, n_components >::fe_degree = 1 |
The degree of the finite element basis functions.
Specifies the polynomial degree of the finite element basis functions used in the tensor product space. Default value is 1.
Definition at line 91 of file tensor_product_space.h.
Referenced by TensorProductSpaceParameters().
unsigned int TensorProductSpaceParameters< reduced_dim, dim, spacedim, n_components >::n_q_points = 0 |
Number of quadrature points to be used in the reduced domain.
This parameter controls the accuracy of the numerical integration in the reduced domain. If left to zero, the number of quadrature points will be set to the minimum required for the finite element degree.
Definition at line 101 of file tensor_product_space.h.
Referenced by TensorProductSpaceParameters().
std::string TensorProductSpaceParameters< reduced_dim, dim, spacedim, n_components >::reduced_grid_name = "" |
Name of the grid to read from a file.
Definition at line 119 of file tensor_product_space.h.
Referenced by TensorProductSpaceParameters().
ReferenceCrossSectionParameters<cross_section_dim, spacedim, n_components> TensorProductSpaceParameters< reduced_dim, dim, spacedim, n_components >::section |
Parameters for the reference cross-section.
This member holds the parameters for the reference cross-section of the tensor product space. The cross-section is defined in a space of dimensionality cross_section_dim
.
Definition at line 83 of file tensor_product_space.h.
double TensorProductSpaceParameters< reduced_dim, dim, spacedim, n_components >::thickness = 0.01 |
Thickness of the inclusion.
Definition at line 106 of file tensor_product_space.h.
Referenced by TensorProductSpaceParameters().
std::string TensorProductSpaceParameters< reduced_dim, dim, spacedim, n_components >::thickness_field_name = "" |
Name of the field name to use for the thickness of the inclusion. This is read from the reduced_grid_name file. If empty, the thickness is assumed to be constant, and taken from the tensor_product_space_parameters.thickness argument.
Definition at line 114 of file tensor_product_space.h.
Referenced by TensorProductSpaceParameters().