16 #ifndef _d2k_parsed_zero_average_constraints_h 17 #define _d2k_parsed_zero_average_constraints_h 19 #include <deal2lkit/config.h> 64 template <
int dim,
int spacedim=dim>
87 const unsigned int &n_components=1,
88 const std::string &component_names =
"",
89 const std::string &default_components =
"",
90 const std::string &default_boundary_components =
"");
121 virtual void parse_parameters_call_back ();
127 <<
"Wrong component number has been used: " 128 << arg1 <<
" is not in the range [0, " 132 DeclException2(ExcWrongVariable, std::string, std::vector<std::string>,
133 <<
"Wrong variabile name has been used: " 134 << arg1 <<
" does not belong to the knwon variables: " 141 const bool at_boundary,
#define DeclException2(Exception2, type1, type2, outsequence)
A parameter acceptor base class.
std::string str_boundary_components
std::string str_component_names
const unsigned int n_components
std::vector< std::string > _component_names
std::vector< std::string > boundary_components
std::string str_components
std::vector< std::string > components
std::string print(const std::vector< Type > &list, const std::string sep=",")
Return a string containing the content of the vector, with elements separated by the @ sep parameter...
ParsedZeroAverageConstraints class.
std::vector< T > unique(const std::vector< T > &myvector)
A simple function that accepts a vector as an input and returns a second vector containing only the u...
std::vector< bool > boundary_mask