OpenFPM  5.2.0
Project that contain the implementation of distributed structures
main.cpp File Reference
#include <cmath>
#include <iostream>
#include "Grid/grid_dist_id.hpp"
#include "data_type/aggregate.hpp"
#include "VCluster/VCluster.hpp"
#include "Vector/Vector.hpp"
#include "FiniteDifference/util/common.hpp"
#include "FiniteDifference/eq.hpp"
#include "FiniteDifference/FD_op.hpp"
#include "level_set/closest_point/closest_point.hpp"

Go to the source code of this file.

Data Structures

struct  EllipseParameters
 

Typedefs

using GridDist = grid_dist_id< SIM_DIM, double, aggregate< double, double[3]> >
 
typedef struct EllipseParameters EllipseParams
 

Functions

template<const unsigned int phi_field, typename grid_type >
void initializeIndicatorFunc (grid_type &gd, const EllipseParams &params)
 
void estimateErrorInReinit (GridDist &gd, EllipseParams &params)
 
int main (int argc, char *argv[])
 

Variables

constexpr int SIM_DIM = 3
 
constexpr int POLY_ORDER = 5
 
constexpr int SIM_GRID_SIZE = 64
 
constexpr double PI = 3.141592653589793
 
const long int sz [SIM_DIM] = {SIM_GRID_SIZE, SIM_GRID_SIZE, SIM_GRID_SIZE}
 
const size_t szu [SIM_DIM] = {(size_t) sz[0], (size_t) sz[1], (size_t) sz[2]}
 
Box< SIM_DIM, double > domain ({-1.5,-1.5,-1.5},{1.5, 1.5, 1.5})
 
constexpr int x = 0
 
constexpr int y = 1
 
constexpr int z = 2
 
constexpr int phi = 0
 
constexpr int cp = 1
 
double nb_gamma = 0.0
 
constexpr int narrow_band_half_width = 8