16 #ifndef _d2k_parsed_finite_element_h 17 #define _d2k_parsed_finite_element_h 19 #include <deal2lkit/config.h> 61 template <
int dim,
int spacedim=dim>
84 const std::string &default_fe=
"FE_Q(1)",
85 const std::string &default_component_names=
"u",
86 const unsigned int n_components=0);
144 virtual void parse_parameters_call_back();
149 std::string get_component_names()
const;
156 std::vector<unsigned int> get_component_blocks()
const;
164 std::string get_block_names()
const;
169 unsigned int n_components()
const;
176 unsigned int n_blocks()
const;
182 unsigned int get_first_occurence(
const std::string &var)
const;
187 bool is_vector(
const std::string &var)
const;
A parameter acceptor base class.
std::string default_component_names
Default component names.
std::vector< std::string > block_names
The subdivision, in terms of block names.
const unsigned int _n_components
Number of components of this FiniteElement.
std::vector< unsigned int > component_blocks
The subdivision, in terms of component indices.
std::string fe_name
Finite Element Name.
std::vector< std::string > component_names
Block names.