9 #ifndef GEOM_VOLUMECORRECTION_H
10 #define GEOM_VOLUMECORRECTION_H
12 #include "util/point.h"
17 #include "data/DataManager.h"
18 #include "inp/decks/modelDeck.h"
68 std::string
printStr(
int nt = 0,
int lvl = 0)
const;
77 void print(
int nt = 0,
int lvl = 0)
const { std::cout <<
printStr(nt, lvl); };
92 const std::vector<util::Point3> *nodes);
101 const std::vector<util::Point3> *nodes,
fe::Mesh* p_mesh);
Data manager to collect the global simulation data.
Definition: DataManager.h:58
A class for mesh data.
Definition: mesh.h:49
A class to store neighbor list and provide access to the list.
Definition: neighbor.h:32
A class to to compute the volume correction for state-based models.
Definition: volumeCorrection.h:44
void correctVolume(const double &horizon, const double &dx, geometry::Neighbor *neighbors, const std::vector< util::Point3 > *nodes)
Computes the volume correction for each node inside the neighborhood. Since nodes close the boundary ...
Definition: volumeCorrection.cpp:25
void weightedVolume(geometry::Neighbor *neighbors, const std::vector< util::Point3 > *nodes, fe::Mesh *p_mesh)
Computes the weighted volume with as the influence function for each discrete node.
Definition: volumeCorrection.cpp:48
std::vector< double > * d_weightedVolume_p
Weighted volume of nodes.
Definition: volumeCorrection.h:49
VolumeCorrection(data::DataManager *dataManager)
Constructor.
Definition: volumeCorrection.cpp:16
void print(int nt=0, int lvl=0) const
Prints the information about the instance of the object.
Definition: volumeCorrection.h:77
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing information about the instance of the object.
Definition: volumeCorrection.cpp:69
std::vector< std::vector< double > > * d_volumeCorrection_p
Volume correction for the neighborhood of each node.
Definition: volumeCorrection.h:51
Data mamanger to share the global simulation data between the classes.
Definition: DataManager.h:55
Collection of methods and data related to finite element and mesh.
Definition: baseElem.h:15
Collection of methods and data related to geometry.
Definition: DataManager.h:23
Collection of methods and database related to input.
Definition: main.cpp:21