PhyStar  v0.0.0 thu24
solver::ppsol Namespace Reference

Classes

class  CartPPSol
 Point-Particle Solver in a Cartesian box. More...
 
struct  CartPPVirtualRegion
 
class  CartSmartPPSol
 smart Point-Particle Solver in a Cartesian box More...
 
class  PPSolBase
 

Typedefs

template<int N_dim, int SpaceID>
using pfun = ParticleData< N_dim >(CartPPSol< N_dim, SpaceID >::*)(Real, ParticleData< N_dim >, ParticleField< N_dim > &)
 

Enumerations

enum class  TimeScheme { Default = 0 , AB2 = 1 , RK3 = 2 }
 Time scheme of particle evolution. More...
 
enum class  InitMethod {
  Default = 0 , RandomAll = 1 , FromFile = 2 , Value = 4 ,
  Local
}
 Initialization method of particle. More...
 
enum class  CoupleType { OneWay = 0 , TwoWay , ThreeWay , FourWay }
 The type of coupling. More...
 
enum class  PDataFileType { OnlyPData = 1 , IncFData = 2 }
 particle data type when writing onestep file More...
 

Functions

static TimeScheme vConfigTimeScheme (std::string type)
 Config TimeScheme. More...
 
static InitMethod vConfigInitMethod (std::string type)
 Config Init Method. More...
 
static CoupleType vConfigCoupleType (std::string type)
 Config Init Method. More...
 
static ContactComponent vConfigContactComponent (std::string type)
 Config Collision Component. More...
 
static PDataFileType vConfigPDataFileType (std::string type)
 

Typedef Documentation

◆ pfun

template<int N_dim, int SpaceID>
using solver::ppsol::pfun = typedef ParticleData<N_dim> (CartPPSol<N_dim, SpaceID>::*)(Real, ParticleData<N_dim>, ParticleField<N_dim> &)

Enumeration Type Documentation

◆ CoupleType

The type of coupling.

Enumerator
OneWay 
TwoWay 
ThreeWay 
FourWay 

◆ InitMethod

Initialization method of particle.

Enumerator
Default 
RandomAll 
FromFile 
Value 
Local 

◆ PDataFileType

particle data type when writing onestep file

Enumerator
OnlyPData 
IncFData 

◆ TimeScheme

Time scheme of particle evolution.

Enumerator
Default 
AB2 
RK3 

Function Documentation

◆ vConfigContactComponent()

static ContactComponent solver::ppsol::vConfigContactComponent ( std::string  type)
inlinestatic

Config Collision Component.

Parameters
type
Returns
ContactComponent
Here is the caller graph for this function:

◆ vConfigCoupleType()

static CoupleType solver::ppsol::vConfigCoupleType ( std::string  type)
inlinestatic

Config Init Method.

Parameters
type
Returns
CoupleType

References FourWay, OneWay, ThreeWay, and TwoWay.

Here is the caller graph for this function:

◆ vConfigInitMethod()

static InitMethod solver::ppsol::vConfigInitMethod ( std::string  type)
inlinestatic

Config Init Method.

Parameters
type
Returns
InitMethod

References Default, FromFile, Local, RandomAll, and Value.

◆ vConfigPDataFileType()

static PDataFileType solver::ppsol::vConfigPDataFileType ( std::string  type)
inlinestatic

References IncFData, and OnlyPData.

Here is the caller graph for this function:

◆ vConfigTimeScheme()

static TimeScheme solver::ppsol::vConfigTimeScheme ( std::string  type)
inlinestatic

Config TimeScheme.

Parameters
type
Returns
TimeScheme

References AB2, Default, and RK3.

Here is the caller graph for this function: