xc
|
Sets container. More...
#include <MapSetBase.h>
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 | |
SetEstruct * | create_set_estruct (const SetEstruct &) |
Returns a copy of the argument. | |
SetBase * | find (const std::string &nmb) const |
Returns a pointer to the set which name is being passed as parameter. | |
SetEstruct * | find_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). | |
MapSetBase & | operator= (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. | |
DbTagData & | getDbTagData (void) const |
const ID & | getSetsDBTags (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 |
Sets container.
std::set< XC::SetBase * > XC::MapSetBase::get_sets | ( | const Node * | n | ) |
Return the sets that contain the pointer to node being passed as parameter.
std::set< XC::SetBase * > XC::MapSetBase::get_sets | ( | const Element * | e | ) |
Return the sets that contain the element pointer being passed as parameter.
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.
std::set< XC::SetBase * > XC::MapSetBase::get_sets | ( | const Edge * | e | ) |
Return the sets that contain the pointer to edge being passed as parameter.
std::set< XC::SetBase * > XC::MapSetBase::get_sets | ( | const Face * | f | ) |
Return the sets than contain a pointer to face being passed as parameter.
std::set< XC::SetBase * > XC::MapSetBase::get_sets | ( | const Body * | b | ) |
Return the sets that contain the pointer to body being passed as parameter.
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.
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.
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.