#include <meshassembly.hpp>
Public Types | |
typedef std::map< std::string, sfem::groups::ElementSet > | TElementSetMap |
typedef std::map< std::string, sfem::groups::NodeSet > | TNodeSetMap |
typedef std::map< std::string, uint > | Type_map_stringindex |
typedef std::map< std::string, boost::shared_ptr < material::Material > > | Type_material_container |
typedef std::vector < boost::shared_ptr< MeshPart > > | Type_meshpart_container |
typedef boost::function< void(const boost::shared_ptr< MeshPart > &part) > | Type_part_callback |
typedef std::map< std::string, boost::shared_ptr< Section > > | Type_section_container |
typedef unsigned int | uint |
typedef unsigned short | ushort |
Public Member Functions | |
sfem::groups::ElementSet & | elementSet (const std::string &theident) |
setter for a specific element set | |
const sfem::groups::ElementSet & | elementSet (const std::string &theident) const |
getter for a specific element set | |
TElementSetMap & | elementSets () |
setter for element sets | |
const TElementSetMap & | elementSets () const |
getter for element sets | |
std::list< Type_part_callback > & | getCallbackOnDeletePart () |
setter for callbackOnDeletePart | |
const std::list < Type_part_callback > & | getCallbackOnDeletePart () const |
getter for callbackOnDeletePart | |
std::string & | getIdent () |
sets the ident of this MeshAssembly: | |
const std::string & | getIdent () const |
returns the MeshAssembly ident: | |
const material::Material & | getMaterial (const std::string &theident) const |
getter for a specific material | |
const Type_material_container & | getMaterials () const |
getter for materials | |
const MeshPart & | getPart (const std::string &theident) const |
getter for a specific part | |
const MeshPart & | getPart (const uint &theindex) const |
getter for a specific part | |
const Type_map_stringindex & | getPartIndices () const |
returns the vector of contained parts: | |
const Type_meshpart_container & | getParts () const |
returns the specific integration point data | |
const Section & | getSection (const std::string &theident) const |
getter for a specific section | |
const Type_section_container & | getSections () const |
getter for sections | |
void | materialCreate (const std::string &theident, const std::string &thetype, const std::string &strain_type, const material::Material::int_vector_type &int_vector, const material::Material::real_vector_type &real_vector) |
creates the given material | |
MeshAssembly (const std::string &the_ident) | |
sfem::groups::NodeSet & | nodeSet (const std::string &theident) |
setter for a specific node set | |
const sfem::groups::NodeSet & | nodeSet (const std::string &theident) const |
getter for a specific node set | |
TNodeSetMap & | nodeSets () |
setter for node sets | |
const TNodeSetMap & | nodeSets () const |
getter for node sets | |
void | partCreate (const MeshPart::index_type &theindex, const std::string &theident) |
creates the given part | |
void | partDelete (const std::string &theident) |
deletes the given part | |
void | sectionCreate (const std::string &theident, const std::string &thesectiontype, const material::Material &thematerial, const Section::int_vector_type &intvector, const Section::real_vector_type &realvector) |
creates the given section | |
material::Material & | setMaterial (const std::string &theident) |
setter for a specific material | |
Type_material_container & | setMaterials () |
setter for materials | |
MeshPart & | setPart (const std::string &theident) |
setter for a specific part | |
MeshPart & | setPart (const uint &theindex) |
setter for a specific part | |
Type_meshpart_container & | setParts () |
Section & | setSection (const std::string &theident) |
setter for a specific section | |
Type_section_container & | setSections () |
setter for sections | |
Protected Attributes | |
std::list< Type_part_callback > | callbackOnDeletePart |
a list of callbacks that is invoked on deleting the given part | |
std::string | ident |
the MeshAssembly ident | |
TElementSetMap | m_elementSets |
a container for element sets | |
TNodeSetMap | m_nodeSets |
a container for node sets | |
Type_material_container | materials |
a container for all global materials | |
Type_meshpart_container | part_container |
container of all parts | |
Type_map_stringindex | part_indices |
container that references a part ident to its index in the part vector: | |
Type_section_container | sections |
a container for all global sections |
Represents a container of multiple parts (MeshPart objects) forming an assembly (MeshAssembly).
const Type_meshpart_container& sfem::mesh::MeshAssembly::getParts | ( | ) | const [inline] |
returns the specific integration point data
intpt | ... number of intpt ;;-;;-;;-;; returns the vector of contained parts: |