Template Struct TensorProductSpaceParameters¶
Defined in File tensor_product_space.h
Inheritance Relationships¶
Base Type¶
public ParameterAcceptor
Struct Documentation¶
-
template<int reduced_dim, int dim, int spacedim, int n_components>
struct TensorProductSpaceParameters : public ParameterAcceptor¶ 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.
- Template 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.
Public Functions
-
TensorProductSpaceParameters()¶
Default constructor.
Initializes the parameters for the tensor product space with default values.
Public Members
-
ReferenceCrossSectionParameters<cross_section_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.
-
unsigned int 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.
-
std::string quadrature_type = "gauss"¶
Type of 1D quadrature used to build the reduced-domain rule.
This is passed to dealii::QuadratureSelector and then repeated through QIterated on each reduced cell.
-
unsigned int 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.
-
unsigned int n_quadrature_repetitions = 1¶
Number of times to repeat the reduced-domain quadrature formula.
A value of 1 keeps the standard Gauss rule. Larger values build an iterated Gauss quadrature on each reduced cell.
-
double thickness = 0.01¶
Thickness of the inclusion.
-
std::string 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.
-
std::string reduced_grid_name = ""¶
Name of the grid to read from a file.
Public Static Attributes
-
static constexpr int cross_section_dim = dim - reduced_dim¶
The dimensionality of the cross-section.
This is computed as the difference between the full dimensionality (
dim) and the reduced dimensionality (reduced_dim).