Fluid structure interaction suite
components.h File Reference
Include dependency graph for components.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ParsedTools
 We collect in this namespace some wrappers around commonly used deal.II classes, derived from the ParameterAcceptor class.
 
 ParsedTools::Components
 Utilities for extracting components and boundary condition types from strings.
 

Enumerations

enum class  ParsedTools::Components::Type {
  ParsedTools::Components::all = 0 , ParsedTools::Components::scalar = 1 , ParsedTools::Components::vector = 2 , ParsedTools::Components::normal = 3 ,
  ParsedTools::Components::tangential = 4
}
 Enumerator used to identify patterns of components and their size in the a block system. More...
 

Functions

template<int dim, int spacedim>
std::unique_ptr< FiniteElement< dim, spacedim > > ParsedTools::Components::get_lagrangian_finite_element (const Triangulation< dim, spacedim > &tria, const unsigned int degree=1, const int continuity=0)
 Get a Lagrangian FiniteElement object compatible with the given Triangulation object. More...
 
template<int dim, int spacedim>
Quadrature< dim > ParsedTools::Components::get_cell_quadrature (const Triangulation< dim, spacedim > &tria, const unsigned int degree)
 Return a Quadrature object that can be used on the given Triangulation cells. More...
 
template<int dim, int spacedim>
Quadrature< dim - 1 > ParsedTools::Components::get_face_quadrature (const Triangulation< dim, spacedim > &tria, const unsigned int degree)
 Return a Quadrature object that can be used on the given Triangulation faces. More...
 
template<typename Container >
std::string ParsedTools::Components::join (const Container &strings, const std::string &separator)
 Join strings in a container together using a given separator. More...
 
unsigned int ParsedTools::Components::n_components (const std::string &component_names)
 Count the number of components in the given list of comma separated components. More...
 
unsigned int ParsedTools::Components::n_blocks (const std::string &component_names)
 Count the number of components in the given list of comma separated components. More...
 
std::string ParsedTools::Components::blocks_to_names (const std::vector< std::string > &components, const std::vector< unsigned int > &multiplicities)
 Build component names from block names and multiplicities. More...
 
std::pair< std::vector< std::string >, std::vector< unsigned int > > ParsedTools::Components::names_to_blocks (const std::string &component_names)
 Build block names and multiplicities from component names. More...
 
std::vector< unsigned int > ParsedTools::Components::block_indices (const std::string &component_names, const std::string &selected_components)
 Return the indices within the block corresponding to the given selected components, or numbers::invalid_unsigned_int if the selected components could not be found. More...
 
std::vector< unsigned int > ParsedTools::Components::component_indices (const std::string &component_names, const std::string &selected_components)
 Return the indices within the components corresponding to first component of the given selected components, or numbers::invalid_unsigned_int if the selected components could not be found. More...
 
std::pair< unsigned int, unsigned int > ParsedTools::Components::component_to_indices (const std::string &component_names, const std::string &selected_component)
 Return the indices within the components and within the blocks corresponding to first component of the given selected component, or numbers::invalid_unsigned_int if the selected components could not be found. More...
 
std::string ParsedTools::Components::component_name (const std::string &component_names, const std::string &selected_component)
 Return the canonical component name for the given selected component. More...
 
Type ParsedTools::Components::type (const std::string &component_name, const std::string &selected_component)
 Return the component type for the given selected component. More...
 
ComponentMask ParsedTools::Components::mask (const std::string &component_names, const std::string &selected_component)
 Return a component mask corresponding to a given selected component, from a list of comma separated components. More...