sfem::mesh::MeshAssembly Class Reference

... the base class for an editable mesh More...

#include <meshassembly.hpp>

Collaboration diagram for sfem::mesh::MeshAssembly:

Collaboration graph
[legend]

List of all members.

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::ElementSetelementSet (const std::string &theident)
 setter for a specific element set
const sfem::groups::ElementSetelementSet (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::MaterialgetMaterial (const std::string &theident) const
 getter for a specific material
const Type_material_container & getMaterials () const
 getter for materials
const MeshPartgetPart (const std::string &theident) const
 getter for a specific part
const MeshPartgetPart (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 SectiongetSection (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::NodeSetnodeSet (const std::string &theident)
 setter for a specific node set
const sfem::groups::NodeSetnodeSet (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::MaterialsetMaterial (const std::string &theident)
 setter for a specific material
Type_material_container & setMaterials ()
 setter for materials
MeshPartsetPart (const std::string &theident)
 setter for a specific part
MeshPartsetPart (const uint &theindex)
 setter for a specific part
Type_meshpart_container & setParts ()
SectionsetSection (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


Detailed Description

... the base class for an editable mesh

Represents a container of multiple parts (MeshPart objects) forming an assembly (MeshAssembly).


Member Function Documentation

const Type_meshpart_container& sfem::mesh::MeshAssembly::getParts (  )  const [inline]

returns the specific integration point data

Parameters:
intpt ... number of intpt ;;-;;-;;-;; returns the vector of contained parts:


The documentation for this class was generated from the following file:

Generated on Wed Nov 17 17:35:54 2010 for 'sfem' Module Programming Interface by  doxygen 1.5.6