xc
Public Types | Public Member Functions | Protected Member Functions | Static Protected Attributes | Friends | List of all members
XC::MapSetBase Class Reference

Sets container. More...

#include <MapSetBase.h>

Inheritance diagram for XC::MapSetBase:
Inheritance graph
[legend]
Collaboration diagram for XC::MapSetBase:
Collaboration graph
[legend]

Public Types

typedef std::map< std::string, SetBase * > map_sets
 

Public Member Functions

virtual ~MapSetBase (void)
 Destructor.
 
bool exists (const std::string &nmb) const
 Return true if the sets already exists.
 
void remove (const std::string &)
 Deletes the set and removes it from the sets map.
 
void rename (const std::string &, const std::string &)
 Rename the set.
 
void removeNode (Node *)
 Remove the given node from the sets.
 
void removeElement (Element *)
 Remove the given element from the sets.
 
void removeConstraint (Constraint *)
 Remove the given constraint from the sets.
 
boost::python::list getSetsNamesPy (void) const
 Return the class names of the sets.
 
boost::python::list getKeysPy (void) const
 Return the map keys in a Python list.
 
std::set< SetBase * > get_sets (const Node *)
 Return the sets that contain the pointer to node being passed as parameter. More...
 
boost::python::list get_sets_py (const Node *)
 Return a Python list containing the sets that contain the pointer to node being passed as parameter. More...
 
std::set< SetBase * > get_sets (const Element *)
 Return the sets that contain the element pointer being passed as parameter. More...
 
boost::python::list get_sets_py (const Element *)
 Return a Python list containing the sets that contain the pointer to node being passed as parameter. More...
 
std::set< SetBase * > get_sets (const Pnt *)
 Return the sets that contain the pointer to the ponint being passed as parameter. More...
 
std::set< SetBase * > get_sets (const Edge *)
 Return the sets that contain the pointer to edge being passed as parameter. More...
 
std::set< SetBase * > get_sets (const Face *)
 Return the sets than contain a pointer to face being passed as parameter. More...
 
std::set< SetBase * > get_sets (const Body *)
 Return the sets that contain the pointer to body being passed as parameter. More...
 
std::set< SetBase * > get_sets (const UniformGrid *)
 Return the sets that contain the pointer to uniform grid being passed as parameter. More...
 
boost::python::dict getPyDict (void) const
 Return a Python dictionary with the object members values.
 
void setPyDict (Preprocessor *, const boost::python::dict &)
 Set the values of the object members from a Python dictionary.
 

Protected Member Functions

SetEstructcreate_set_estruct (const SetEstruct &)
 Returns a copy of the argument.
 
SetBasefind (const std::string &nmb) const
 Returns a pointer to the set which name is being passed as parameter.
 
SetEstructfind_set_estruct (const std::string &nmb)
 Returns a pointer to the structured set named as the parameter.
 
void clearSets (void)
 Clears all defined sets.
 
 MapSetBase (const MapSetBase &)
 Copy constructor (DOESN'T COPY SETS).
 
MapSetBaseoperator= (const MapSetBase &)
 Assignment operator (DOESN'T COPY SETS).
 
const std::deque< std::string > & getSetsClassNames (void) const
 Return the class names of the sets.
 
const std::deque< std::string > & getSetsNames (void) const
 Return the class names of the sets.
 
const std::deque< std::string > & getKeys (void) const
 Return the map keys.
 
DbTagDatagetDbTagData (void) const
 
const IDgetSetsDBTags (Communicator &comm)
 Return the DBTags of the sets.
 

Static Protected Attributes

static std::deque< std::string > setsClassNames
 

Friends

class EntMdlr
 sets class names.
 
class Set
 

Detailed Description

Sets container.

Member Function Documentation

◆ get_sets() [1/7]

std::set< XC::SetBase * > XC::MapSetBase::get_sets ( const Node n)

Return the sets that contain the pointer to node being passed as parameter.

◆ get_sets() [2/7]

std::set< XC::SetBase * > XC::MapSetBase::get_sets ( const Element e)

Return the sets that contain the element pointer being passed as parameter.

◆ get_sets() [3/7]

std::set< XC::SetBase * > XC::MapSetBase::get_sets ( const Pnt p)

Return the sets that contain the pointer to the ponint being passed as parameter.

◆ get_sets() [4/7]

std::set< XC::SetBase * > XC::MapSetBase::get_sets ( const Edge e)

Return the sets that contain the pointer to edge being passed as parameter.

◆ get_sets() [5/7]

std::set< XC::SetBase * > XC::MapSetBase::get_sets ( const Face f)

Return the sets than contain a pointer to face being passed as parameter.

◆ get_sets() [6/7]

std::set< XC::SetBase * > XC::MapSetBase::get_sets ( const Body b)

Return the sets that contain the pointer to body being passed as parameter.

◆ get_sets() [7/7]

std::set< XC::SetBase * > XC::MapSetBase::get_sets ( const UniformGrid ug)

Return the sets that contain the pointer to uniform grid being passed as parameter.

◆ get_sets_py() [1/2]

boost::python::list XC::MapSetBase::get_sets_py ( const Node n)

Return a Python list containing the sets that contain the pointer to node being passed as parameter.

◆ get_sets_py() [2/2]

boost::python::list XC::MapSetBase::get_sets_py ( const Element e)

Return a Python list containing the sets that contain the pointer to node being passed as parameter.


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