Classes | |
struct | ConstraintFunction |
struct | CFunData |
class | InitPartData |
Typedefs | |
template<int N_dim> | |
using | pCFun = bool(*)(blin::Vecr< N_dim > &, std::vector< Real > &, InsideOutside) |
Enumerations | |
enum class | CFunTag { None , Box , Sphere } |
enum | InsideOutside { In = 1 , Out = 0 } |
enum class | OverlapTag { OverLap = 1 , NoOverLap = 0 } |
enum class | InitTag { Random , Local , Value , FromFile , FromFun , LocalFluidRotation , None = 999 } |
Functions | |
static CFunTag | vConfigCFunTag (std::string type) |
static InsideOutside | vConfigInsideOutside (std::string type) |
template<int N_dim> | |
bool | None (blin::Vecr< N_dim > &pos, std::vector< Real > ¶ms, InsideOutside flag=InsideOutside::In) |
template<int N_dim> | |
bool | Box (blin::Vecr< N_dim > &pos, std::vector< Real > ¶ms, InsideOutside flag=InsideOutside::In) |
Constraint function of box. More... | |
template<int N_dim> | |
bool | Sphere (blin::Vecr< N_dim > &pos, std::vector< Real > ¶ms, InsideOutside flag=InsideOutside::In) |
Constraint function of Sphere(3D) or Circ (2D) More... | |
static InitTag | vConfigInitTag (std::string type) |
using dmdyn::init::pCFun = typedef bool (*)(blin::Vecr<N_dim> &, std::vector<Real> &, InsideOutside) |
|
strong |
|
strong |
|
strong |
|
inline |
Constraint function of box.
N_dim |
pos | |
params | for 2D, [xc,yc,lx,ly]; for 3D, [xc,yc,zc,lx,ly,lz] |
|
inline |
|
inline |
Constraint function of Sphere(3D) or Circ (2D)
N_dim |
pos | |
params | for 2D, [xc,yc,r]; for 3D, [xc,yc,zc,r] |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |