11#ifndef PARTILCE_REFPARTILCE_H
12#define PARTILCE_REFPARTILCE_H
48 std::shared_ptr<data::ModelData> model_data,
49 std::shared_ptr<geom::GeomObject>
geom,
50 std::shared_ptr<mesh::Mesh>
mesh);
139 std::string
printStr(
int nt = 0,
int lvl = 0)
const;
147 void print(
int nt = 0,
int lvl = 0)
const { std::cout <<
printStr(nt, lvl); }
A class to store reference particle related data. Consider a case of multiple hexagon-shaped particle...
std::shared_ptr< mesh::Mesh > & getMeshP()
Get pointer to mesh object.
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing printable information about the object.
size_t getCenterNodeId() const
Get id of center node of particle.
size_t d_id
Id of reference particle in list d_referenceParticles in ModelData.
util::Point getNode(const size_t &i) const
Get reference coordinate of a node.
std::shared_ptr< geom::GeomObject > & getGeomP()
Get pointer to geometry object.
size_t getDimension() const
Get the dimension of the domain.
const mesh::Mesh & getMesh() const
Get reference to mesh object.
size_t d_centerNode
Id of mesh node closest to the particle center.
mesh::Mesh & getMesh()
Get reference to mesh object.
double getNodalVolume(const size_t &i) const
Get nodal volume.
std::shared_ptr< geom::GeomObject > d_geom_p
Geometrical object defining this particle.
std::shared_ptr< data::ModelData > d_modelData_p
Reference to model class.
double d_pRadius
Particle radius.
size_t getNumNodes() const
Get the number of nodes.
std::vector< size_t > d_bNodes
List of nodes near boundary.
void print(int nt=0, int lvl=0) const
Prints the information about the object.
const std::shared_ptr< geom::GeomObject > & getGeomP() const
Get pointer to geometry object.
const std::shared_ptr< mesh::Mesh > & getMeshP() const
Get pointer to mesh object.
double getParticleRadius() const
Get radius of reference particle.
std::shared_ptr< mesh::Mesh > d_mesh_p
Pointer to mesh on reference particle.
std::vector< uint8_t > d_intFlags
Interior flags. For given node i the flag is d_intFlags[i%8]. We use 1 bit per node.
Collection of methods and data related to finite element and mesh.
Collection of methods and data related to particle object.
A structure to represent 3d vectors.