18#ifndef BEM_STRUCTURE_I
19#define BEM_STRUCTURE_I
31template <
typename MeshType>
33 const std::string name,
38 std::vector<Component<MeshType>>
comps;
47 if (
comp_name.find(name) != std::string::npos)
53 for (
const auto&
comp: components())
58 for (
const auto&
comp: metacomponents())
66template <
typename MeshType>
68 const std::string name,
73 std::vector<Component<MeshType>>
comps = components_by_name(
76 std::vector<MeshView<MeshType>>
mvs;
78 mvs.push_back(
comp.mesh_view());
std::vector< MeshView< MeshType > > mesh_views_by_name(const std::string name, const bool search_metacomponents=false, const bool case_sensitive=false)
Returns a list of mesh views associated with components whose name contains a given string.
std::vector< Component< MeshType > > components_by_name(const std::string name, const bool search_metacomponents=false, const bool case_sensitive=false)
Returns a list of the components whose name contains a given string.
Eigen::Matrix< T, N, 1 > EigColVecN
Fixed-size column vector of size N containing type T.
Primary namespace for the OpenBEM library.