11 #include "preprocessor_defines.dat"
12 #include "Class_Global.hpp"
13 #include "Class_Para_Tree.hpp"
14 #include "User_Data_Comm.hpp"
20 int main(
int argc,
char *argv[]) {
23 MPI::Init(argc, argv);
36 for (iter=0; iter<ga; iter++){
55 for (
int i=0; i<nocts; i++){
56 vector<vector<double> > nodes = pablo.
getNodes(i);
57 for (
int j=0; j<global2D.
nnodes; j++){
58 double x = nodes[j][0];
59 double y = nodes[j][1];
60 if ((pow((x-xc),2.0)+pow((y-yc),2.0) <= pow(radius,2.0))){
83 pablo.
write(
"PabloLB_iter"+to_string(static_cast<unsigned long long>(iter)));
Parallel Octree Manager Class - 2D specialization.
void setMarker(Class_Octant< 2 > *oct, int8_t marker)
void getNodes(Class_Octant< 2 > *oct, dvector2D &nodes)
uint32_t getNumOctants() const
uint32_t getNumGhosts() const
void updateConnectivity()
void write(string filename)
void setBalance(Class_Octant< 2 > *oct, bool balance)