![]() |
PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
|
Input data for geometrical objects. More...
#include <geomObjectsUtil.h>
Public Member Functions | |
| GeomData () | |
| Constructor. | |
| GeomData (const GeomData &z) | |
| Constructor. | |
| void | createNullGeomObject (std::string description="") |
| Creates NullGeomObject. | |
| void | copyGeometry (GeomData &z) |
| Copies the geometry details. | |
| void | copyGeometry (std::string &name, std::vector< double > ¶ms, std::pair< std::vector< std::string >, std::vector< std::string > > &complexInfo, std::shared_ptr< geom::GeomObject > &geom) |
| Copies the geometry details. | |
| std::string | printStr (int nt=0, int lvl=0) const |
| Returns the string containing printable information about the object. | |
| void | print (int nt=0, int lvl=0) const |
| Prints the information about the object. | |
Data Fields | |
| std::string | d_geomName |
| Zone type. | |
| std::vector< double > | d_geomParams |
| Zone parameters. | |
| std::shared_ptr< geom::GeomObject > | d_geom_p |
| Zone geometry. | |
| std::pair< std::vector< std::string >, std::vector< std::string > > | d_geomComplexInfo |
| Zone geometry info if it is a complex type. | |
Input data for geometrical objects.
Definition at line 22 of file geomObjectsUtil.h.
|
inline |
Constructor.
Definition at line 39 of file geomObjectsUtil.h.
|
inline |
Constructor.
| z | Another GeomData object |
Definition at line 46 of file geomObjectsUtil.h.
| void geom::GeomData::copyGeometry | ( | geom::GeomData & | z | ) |
Copies the geometry details.
| z | Another GeomData object that will be modified |
Definition at line 1315 of file geomObjectsUtil.cpp.
References geom::createGeomObject(), d_geom_p, d_geomComplexInfo, d_geomName, and d_geomParams.
| void geom::GeomData::copyGeometry | ( | std::string & | name, |
| std::vector< double > & | params, | ||
| std::pair< std::vector< std::string >, std::vector< std::string > > & | complexInfo, | ||
| std::shared_ptr< geom::GeomObject > & | geom | ||
| ) |
Copies the geometry details.
| name | Name of geometry |
| params | Parameters |
| complexInfo | Pair of vector of geometry names and flags for complex geometry |
| geom | Pointer to geometry object |
Definition at line 1333 of file geomObjectsUtil.cpp.
References geom::createGeomObject().
|
inline |
Creates NullGeomObject.
| description | Description (if any) |
Definition at line 56 of file geomObjectsUtil.h.
References d_geom_p, d_geomName, and d_geomParams.
|
inline |
Prints the information about the object.
| nt | Number of tabs to append before printing |
| lvl | Information level (higher means more information) |
Definition at line 121 of file geomObjectsUtil.h.
References printStr().
|
inline |
Returns the string containing printable information about the object.
| nt | Number of tabs to append before printing |
| lvl | Information level (higher means more information) |
Definition at line 90 of file geomObjectsUtil.h.
References d_geom_p, d_geomComplexInfo, d_geomName, d_geomParams, util::io::getTabS(), and util::io::printStr().
Referenced by print(), and inp::BCBaseDeck::printStr().
| std::shared_ptr<geom::GeomObject> geom::GeomData::d_geom_p |
Zone geometry.
Definition at line 31 of file geomObjectsUtil.h.
Referenced by copyGeometry(), geom::createGeomObject(), createNullGeomObject(), mesh_gen::createParticleMesh(), loading::needToComputeDof(), printStr(), and inp::BCBaseDeck::printStr().
| std::pair<std::vector<std::string>, std::vector<std::string> > geom::GeomData::d_geomComplexInfo |
Zone geometry info if it is a complex type.
Definition at line 34 of file geomObjectsUtil.h.
Referenced by anonymous_namespace{main.cpp}::bhatVNotchedPlateGeom(), copyGeometry(), geom::createGeomObject(), printStr(), geom::readGeometry(), anonymous_namespace{main.cpp}::sillingNotchedPlateGeom(), and geom::writeGeometry().
| std::string geom::GeomData::d_geomName |
Zone type.
Definition at line 25 of file geomObjectsUtil.h.
Referenced by anonymous_namespace{main.cpp}::bhatVNotchedPlateGeom(), anonymous_namespace{main.cpp}::buildBhatInputJson(), anonymous_namespace{main.cpp}::buildImpactInputJson(), anonymous_namespace{main.cpp}::buildInputJson(), anonymous_namespace{main.cpp}::buildInputJson(), anonymous_namespace{main.cpp}::buildInputJson(), anonymous_namespace{main.cpp}::buildInputJson(), copyGeometry(), geom::createGeomObject(), createNullGeomObject(), mesh_gen::createParticleMesh(), printStr(), geom::readGeometry(), anonymous_namespace{main.cpp}::sillingNotchedPlateGeom(), and geom::writeGeometry().
| std::vector<double> geom::GeomData::d_geomParams |
Zone parameters.
Definition at line 28 of file geomObjectsUtil.h.
Referenced by anonymous_namespace{main.cpp}::bhatVNotchedPlateGeom(), anonymous_namespace{main.cpp}::buildBhatInputJson(), anonymous_namespace{main.cpp}::buildImpactInputJson(), anonymous_namespace{main.cpp}::buildInputJson(), anonymous_namespace{main.cpp}::buildInputJson(), anonymous_namespace{main.cpp}::buildInputJson(), anonymous_namespace{main.cpp}::buildInputJson(), copyGeometry(), geom::createGeomObject(), createNullGeomObject(), printStr(), geom::readGeometry(), anonymous_namespace{main.cpp}::sillingNotchedPlateGeom(), and geom::writeGeometry().