Reduced Lagrange Multipliers
 
Loading...
Searching...
No Matches
TensorProductSpaceParameters< reduced_dim, dim, spacedim, n_components > Struct Template Reference

#include <tensor_product_space.h>

Inheritance diagram for TensorProductSpaceParameters< reduced_dim, dim, spacedim, n_components >:
ParameterAcceptor EnableObserverPointer

Public Member Functions

 TensorProductSpaceParameters ()
 
- Public Member Functions inherited from ParameterAcceptor
 ParameterAcceptor (const std::string &section_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 &parameter, 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
 
- Public Member Functions inherited from EnableObserverPointer
 EnableObserverPointer ()
 
 EnableObserverPointer (const EnableObserverPointer &)
 
 EnableObserverPointer (EnableObserverPointer &&) noexcept
 
virtual ~EnableObserverPointer ()
 
EnableObserverPointeroperator= (const EnableObserverPointer &)
 
EnableObserverPointeroperator= (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.
 
- Public Attributes inherited from ParameterAcceptor
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 Public Attributes inherited from ParameterAcceptor
static ParameterHandler prm
 

Additional Inherited Members

- Static Public Member Functions inherited from ParameterAcceptor
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 ::ExceptionBaseExcInUse (int arg1, std::string arg2, std::string arg3)
 
static ::ExceptionBaseExcNoSubscriber (std::string arg1, std::string arg2)
 
- Static Public Member Functions inherited from EnableObserverPointer
static ::ExceptionBaseExcInUse (int arg1, std::string arg2, std::string arg3)
 
static ::ExceptionBaseExcNoSubscriber (std::string arg1, std::string arg2)
 
- Protected Attributes inherited from ParameterAcceptor
const std::string section_name
 
std::vector< std::string > subsections
 

Detailed Description

template<int reduced_dim, int dim, int spacedim, int n_components>
struct TensorProductSpaceParameters< reduced_dim, dim, spacedim, n_components >

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_dimThe reduced dimensionality of the tensor product space.
dimThe full dimensionality of the tensor product space.
spacedimThe spatial dimensionality of the embedding space.
n_componentsThe number of components in the tensor product space.

Definition at line 57 of file tensor_product_space.h.

Constructor & Destructor Documentation

◆ TensorProductSpaceParameters()

template<int reduced_dim, int dim, int spacedim, int n_components>
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.

Member Data Documentation

◆ cross_section_dim

template<int reduced_dim, int dim, int spacedim, int n_components>
int TensorProductSpaceParameters< reduced_dim, dim, spacedim, n_components >::cross_section_dim = dim - reduced_dim
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.

◆ fe_degree

template<int reduced_dim, int dim, int spacedim, int n_components>
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().

◆ n_q_points

template<int reduced_dim, int dim, int spacedim, int n_components>
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().

◆ reduced_grid_name

template<int reduced_dim, int dim, int spacedim, int n_components>
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().

◆ section

template<int reduced_dim, int dim, int spacedim, int n_components>
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.

◆ thickness

template<int reduced_dim, int dim, int spacedim, int n_components>
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().

◆ thickness_field_name

template<int reduced_dim, int dim, int spacedim, int n_components>
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().


The documentation for this struct was generated from the following files: