Template Struct TensorProductSpaceParameters

Inheritance Relationships

Base Type

  • public dealii::ParameterAcceptor

Struct Documentation

template<int reduced_dim, int dim, int spacedim, int n_components>
struct TensorProductSpaceParameters : public dealii::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.

std::string thickness = "0.01"

Constant or symbolic expression for the reduced cross-section thickness.

std::string input_file_fields = ""

Comma-separated scalar reduced-field selectors exposed to expressions.

std::string reduced_grid_name = ""

Name of the grid to read from a file.

std::string inclusions_file = ""

Legacy ASCII inclusion geometry, consumed only by the input adapter.

std::string data_file = ""

Legacy ASCII coefficient data, consumed only by the input adapter.

unsigned int legacy_n_coefficients = 1

Number of legacy scalar Fourier modes per component.

std::vector<unsigned int> legacy_selected_coefficients

Optional legacy coefficient selection retained for parameter migration.

std::vector<double> legacy_reference_inclusion_data

Coefficients used for every legacy record when no data file is given.

PointCloud<spacedim> point_cloud

Programmatic point input for zero-dimensional representative domains.

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).