54 std::size_t n_components = 1);
74 std::string
const&
name,
75 std::size_t n_prop_groups,
76 std::vector<std::size_t>
const& item2group_mapping,
78 std::size_t n_components = 1);
91 int const number_of_components)
const;
100 template <
typename T>
106 template <
typename T>
109 int const n_components)
const;
114 template <
typename T>
117 int const n_components);
135 std::vector<std::size_t>
const& exclude_elem_ids,
136 std::vector<std::size_t>
const& exclude_node_ids)
const;
142 std::vector<MeshItemType>
const& exclude_mesh_item_types)
const;
153 std::map<std::string, PropertyVectorBase*>::const_iterator
begin()
const;
154 std::map<std::string, PropertyVectorBase*>::const_iterator
end()
const;
155 std::map<std::string, PropertyVectorBase*>::iterator
begin();
156 std::map<std::string, PropertyVectorBase*>::iterator
end();
157 std::map<std::string, PropertyVectorBase*>::size_type
size()
const;
159 std::map<std::string, PropertyVectorBase*>::size_type
size(
Implemenatiom of the template part of the class Properties.
Property manager on mesh items. Class Properties manages scalar, vector or matrix properties....
bool existsPropertyVector(std::string const &name, MeshItemType const mesh_item_type, int const number_of_components) const
bool hasPropertyVector(std::string const &name) const
std::vector< std::string > getPropertyVectorNames() const
std::map< std::string, PropertyVectorBase * > _properties
void removePropertyVector(std::string const &name)
std::map< std::string, PropertyVectorBase * >::size_type size() const
Properties excludeCopyProperties(std::vector< std::size_t > const &exclude_elem_ids, std::vector< std::size_t > const &exclude_node_ids) const
std::map< std::string, PropertyVectorBase * >::const_iterator begin() const
PropertyVector< T > const * getPropertyVector(std::string const &name) const
std::map< std::string, PropertyVectorBase * >::const_iterator end() const
PropertyVector< T > * createNewPropertyVector(std::string const &name, std::size_t n_prop_groups, std::vector< std::size_t > const &item2group_mapping, MeshItemType mesh_item_type, std::size_t n_components=1)
Properties(Properties &&properties)=default
PropertyVector< T > const * getPropertyVector(std::string const &name, MeshItemType const item_type, int const n_components) const
bool existsPropertyVector(std::string const &name) const
Properties & operator=(Properties const &properties)
PropertyVector< T > * getPropertyVector(std::string const &name)
PropertyVector< T > * getPropertyVector(std::string const &name, MeshItemType const item_type, int const n_components)
Properties & operator=(Properties &&properties)=default
PropertyVector< T > * createNewPropertyVector(std::string const &name, MeshItemType mesh_item_type, std::size_t n_components=1)