An atom has an unique index in the physical model object, a 3D position, and different basic properties.
More...
|
| Atom (PhysicalModel *myPM) |
| Default constructor : set the position to the origin, generate a unique index. More...
|
|
| Atom (PhysicalModel *myPM, xmlNodePtr n, unsigned int id=-1) |
| constructor from xml node: try to read and get the parameters from xml and set the index in atom SC (if possible) More...
|
|
| Atom (PhysicalModel *myPM, const double pos[3]) |
| constructor : generate a unique index More...
|
|
| Atom (PhysicalModel *myPM, const unsigned int ind) |
| set the position to the origin More...
|
|
| Atom (PhysicalModel *myPM, const unsigned int ind, const double pos[3]) |
| constructor : generate a unique index More...
|
|
unsigned int | getIndexInAtoms () const |
| get the index of this atom in the global atom structural component, i.e. its order number in atoms More...
|
|
void | getPosition (double pos[3]) const |
| get the position of the atom (array of 3 doubles) More...
|
|
AtomProperties * | getProperties () const |
| Get a ptr to the AtomProperties. More...
|
|
virtual bool | isInstanceOf (const char *) const |
| return true only if the parameter is equal to "Atom" More...
|
|
virtual bool | setIndex (const unsigned int) |
| set the index. More...
|
|
void | setPosition (const double[3]) |
| set the position of the atom More...
|
|
void | setPosition (const double, const double, const double) |
| set the position of the atom More...
|
|
void | xmlPrint (std::ostream &, const StructuralComponent *) |
| print to an output stream in "pseaudo" XML format. More...
|
|
| ~Atom () |
| std destructor More...
|
|
void | addStructuralComponent (StructuralComponent *) |
| add a particular StructuralComponent in the list More...
|
|
std::vector
< StructuralComponent * > | getAllStructuralComponents () |
| get the list of all the StructuralComponent that are using this structure More...
|
|
unsigned int | getIndex () const |
| get the structure unique index (stored in its property) More...
|
|
std::string | getName () const |
| get the name of the structure More...
|
|
unsigned int | getNumberOfStructuralComponents () const |
| get the number of StructuralComponent that are using this structure More...
|
|
StructuralComponent * | getStructuralComponent (unsigned int i) |
| get a particular StructuralComponent that is using this structure More...
|
|
StructureProperties::GeometricType | getType () const |
| get the type of index More...
|
|
void | removeStructuralComponent (StructuralComponent *) |
| remove a particular StructuralComponent from the list More...
|
|
void | setName (std::string) |
| set the name of the structure More...
|
|
virtual void | setPhysicalModel (PhysicalModel *) |
| set the physical model More...
|
|
| Structure () |
| Base constructor. More...
|
|
virtual | ~Structure () |
| Virtual destructor needed here as this is an abstract class (pure virtual) More...
|
|
An atom has an unique index in the physical model object, a 3D position, and different basic properties.
It is the most basic structure composing a physical model. It is on an atoms that the forces and loads could be applied in order to generate dynamics.