11#ifndef INP_P_ZONEDECK_H
12#define INP_P_ZONEDECK_H
56 std::string
printStr(
int nt = 0,
int lvl = 0)
const {
59 std::ostringstream oss;
60 oss << tabS <<
"------- Zone --------" << std::endl << std::endl;
61 oss << tabS <<
"Zone id = " <<
d_zoneId << std::endl;
62 oss << tabS <<
"Zone geometry data: " << std::endl;
74 void print(
int nt = 0,
int lvl = 0)
const { std::cout <<
printStr(nt, lvl); }
193 std::string
printStr(
int nt = 0,
int lvl = 0)
const {
196 std::ostringstream oss;
197 oss << tabS <<
"------- ParticleZone --------" << std::endl << std::endl;
198 oss << tabS <<
"Zone info: " << std::endl;
201 oss << tabS <<
"Generation method = " <<
d_genMethod << std::endl;
203 oss << tabS <<
"Mesh flag = " <<
d_meshFlag << std::endl;
206 oss << tabS <<
"Particle geometry details: " << std::endl;
208 oss << tabS <<
"Reference rarticle geometry details: " << std::endl;
223 void print(
int nt = 0,
int lvl = 0)
const { std::cout <<
printStr(nt, lvl); }
Collection of methods and database related to input.
std::string getTabS(int nt)
Returns tab spaces of given size.
Structure to read and store material related data.
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing printable information about the object.
Structure to read and store mesh related input data.
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing printable information about the object.
User-input data for particle zone.
inp::MeshDeck d_meshDeck
Store mesh information.
bool d_allDofsConstrained
Specify if all dofs are constrained.
void print(int nt=0, int lvl=0) const
Prints the information about the object.
util::geometry::GeomData d_refParticleGeomData
Geometry of details of reference particle.
std::string d_particleDescription
Particle information. E.g., "rigid". If nothing specific is available, value will be empty string.
inp::Zone d_zone
Zone data.
util::geometry::GeomData d_particleGeomData
Geometry of details of particle.
bool d_meshFlag
Specify if we mesh particle (intended to handle rigid wall in future)
inp::MaterialDeck d_matDeck
Store material information.
ParticleZone(const ParticleZone &pz)
Copy constructor.
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing printable information about the object.
bool d_createParticleUsingParticleZoneGeomObject
Specify if the particle should be created using the particle geometry in the zone data and mesh file....
bool d_isWall
Is this particle actually a wall?
ParticleZone()
Constructor.
std::string d_particleFileDataType
Specify what data to be expected in the particle file e.g.
double d_nearBdNodesTol
Specify how deep we search for nodes near boundary for contact calculations.
std::string d_particleFile
Read particle from a file.
std::string d_genMethod
Particle generation method.
User-input data for zones.
Zone(const Zone &z)
Constructor.
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing printable information about the object.
size_t d_zoneId
Specify zone to which this particle belongs to.
util::geometry::GeomData d_zoneGeomData
Zone geometry data.
void print(int nt=0, int lvl=0) const
Prints the information about the object.
Input data for geometrical objects.
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing printable information about the object.