PhyStar  v0.0.0 thu24
ibm Namespace Reference

Namespaces

 mshio
 

Classes

struct  Force
 
struct  IBMBase
 
struct  IBMCart
 
struct  DeltaFun
 
struct  DeltaFunMap
 
struct  IBElement
 
struct  IBNode
 
struct  IBPoint
 
struct  IBVelBFunction
 

Typedefs

using CollisionGeometryPtr_t = std::shared_ptr< algo::fcl::CollisionGeometry >
 
template<int N_dim>
using IBVelBFun = void(*)(IBPoint< N_dim > &, std::vector< Real > &)
 

Enumerations

enum class  IBMethod { PenaltyFun = 0 , DirectForce = 1 }
 
enum class  IBMSolType { Fixed , SmallRigidBody }
 
enum class  IBMGeoType {
  None = 999 , Box = 0 , Sphere , Ellipsoid ,
  Capsule , Cone , Cylinder , Convex ,
  BVHMesh , BVHPoints
}
 
enum class  DeltaFunType { FourPnts , ThreePnts , TwoPnts , FourPntsCos }
 
enum class  IBVelBType { Uniform , LaminarCircPipe }
 

Functions

static IBMSolType vConfigSolType (const std::string &type)
 
static IBMethod vConfigMethod (const std::string &type)
 
static IBMGeoType vConfigGeoType (const std::string &type)
 
static DeltaFunType vConfigDeltaFunType (const std::string &type)
 
static int vConfigDeltaWidth (const DeltaFunType type)
 
IBVelBType vConfigIBVelBType (const std::string &type)
 
template<int N_dim>
void Uniform (IBPoint< N_dim > &ibpnt, std::vector< Real > &params)
 
template<int N_dim>
void LaminarCircPipe (IBPoint< N_dim > &ibpnt, std::vector< Real > &params)
 

Typedef Documentation

◆ CollisionGeometryPtr_t

using ibm::CollisionGeometryPtr_t = typedef std::shared_ptr<algo::fcl::CollisionGeometry>

◆ IBVelBFun

template<int N_dim>
using ibm::IBVelBFun = typedef void (*)(IBPoint<N_dim> &, std::vector<Real> &)

Enumeration Type Documentation

◆ DeltaFunType

enum ibm::DeltaFunType
strong
Enumerator
FourPnts 
ThreePnts 
TwoPnts 
FourPntsCos 

◆ IBMethod

enum ibm::IBMethod
strong
Enumerator
PenaltyFun 
DirectForce 

◆ IBMGeoType

enum ibm::IBMGeoType
strong
Enumerator
None 
Box 
Sphere 
Ellipsoid 
Capsule 
Cone 
Cylinder 
Convex 
BVHMesh 
BVHPoints 

◆ IBMSolType

enum ibm::IBMSolType
strong
Enumerator
Fixed 
SmallRigidBody 

◆ IBVelBType

enum ibm::IBVelBType
strong
Enumerator
Uniform 
LaminarCircPipe 

Function Documentation

◆ LaminarCircPipe()

template<int N_dim>
void ibm::LaminarCircPipe ( IBPoint< N_dim > &  ibpnt,
std::vector< Real > &  params 
)
inline

References blin::Norm2(), ibm::IBPoint< N_dim >::pos, and ibm::IBPoint< N_dim >::velb.

Here is the call graph for this function:

◆ Uniform()

template<int N_dim>
void ibm::Uniform ( IBPoint< N_dim > &  ibpnt,
std::vector< Real > &  params 
)
inline

◆ vConfigDeltaFunType()

static DeltaFunType ibm::vConfigDeltaFunType ( const std::string &  type)
inlinestatic

References FourPnts, FourPntsCos, ThreePnts, and TwoPnts.

Here is the caller graph for this function:

◆ vConfigDeltaWidth()

static int ibm::vConfigDeltaWidth ( const DeltaFunType  type)
inlinestatic

References FourPnts, FourPntsCos, ThreePnts, and TwoPnts.

Here is the caller graph for this function:

◆ vConfigGeoType()

static IBMGeoType ibm::vConfigGeoType ( const std::string &  type)
inlinestatic

References Box, BVHMesh, Capsule, Cone, Cylinder, Ellipsoid, None, and Sphere.

Here is the caller graph for this function:

◆ vConfigIBVelBType()

IBVelBType ibm::vConfigIBVelBType ( const std::string &  type)
inline

References LaminarCircPipe, and Uniform.

Here is the caller graph for this function:

◆ vConfigMethod()

static IBMethod ibm::vConfigMethod ( const std::string &  type)
inlinestatic

References DirectForce, and PenaltyFun.

Here is the caller graph for this function:

◆ vConfigSolType()

static IBMSolType ibm::vConfigSolType ( const std::string &  type)
inlinestatic

References Fixed, and SmallRigidBody.

Here is the caller graph for this function: