PhyStar  v0.0.0 thu24
solver::ppsol::PPSolBase Class Referenceabstract

#include <PPSolBase.hpp>

Inheritance diagram for solver::ppsol::PPSolBase:
Collaboration diagram for solver::ppsol::PPSolBase:

Public Member Functions

 PPSolBase ()
 
virtual ~PPSolBase ()
 
virtual void Init (const int &step, const Real &time)=0
 
virtual void Solve (const int &step, const Real &time)=0
 
virtual void Finish (const int &step, const Real &time)=0
 
- Public Member Functions inherited from solver::Solver
 Solver ()
 
virtual ~Solver ()
 
void PrintAbstract ()
 
void Relase (const SolverNameList &flag)
 
void ConfigGlobalDict (const std::string filename)
 
void PrintConfigGlobalDict ()
 
virtual std::string GetSolverName ()
 
virtual std::string GetMeshName ()
 

Public Attributes

Real dtp = 0.
 
Real dtc = 0.
 
tml::tmlnode ppsoltml
 
tml::table subpartinfo
 
std::string idprefix = ""
 

Protected Attributes

int id = 0
 

Static Protected Attributes

static int num_of_ppsol = 0
 
- Static Protected Attributes inherited from solver::Solver
static std::string header = "PhyStar"
 
static std::string version = "v0.0.1"
 
static int count
 
static Solverptr_fluidsol = nullptr
 
static Solverptr_point_particlesol = nullptr
 
static Solverptr_resolved_particlesol = nullptr
 
static Real dt
 
static Real kvisc
 
static Real density
 
static tml::tmlnode globaltml
 
struct {
   std::string   casename
 
   Real   time_start
 
   Real   time_end
 
   Real   time_ndump
 
   int   ndim
 
   int   step_start
 
   int   nstep
 
   int   step_end
 
   int   step_ndump
 
   int   step_nscreen
 
   int   step_nstat
 
   int   step_nrefresh
 
   int   ppsol_flag
 
   int   ppsol_same_dict
 
   unsigned int   random_seed
 
globaldict
 

Private Attributes

const std::string _name = "particlesolver"
 

Additional Inherited Members

- Static Public Member Functions inherited from solver::Solver
static const auto & GlobalDict ()
 
static const auto & Dt ()
 

Constructor & Destructor Documentation

◆ PPSolBase()

solver::ppsol::PPSolBase::PPSolBase ( )
inline

◆ ~PPSolBase()

virtual solver::ppsol::PPSolBase::~PPSolBase ( )
inlinevirtual

Member Function Documentation

◆ Finish()

virtual void solver::ppsol::PPSolBase::Finish ( const int &  step,
const Real time 
)
pure virtual

◆ Init()

virtual void solver::ppsol::PPSolBase::Init ( const int &  step,
const Real time 
)
pure virtual

◆ Solve()

virtual void solver::ppsol::PPSolBase::Solve ( const int &  step,
const Real time 
)
pure virtual

Member Data Documentation

◆ _name

const std::string solver::ppsol::PPSolBase::_name = "particlesolver"
private

◆ dtc

Real solver::ppsol::PPSolBase::dtc = 0.

◆ dtp

Real solver::ppsol::PPSolBase::dtp = 0.

◆ id

int solver::ppsol::PPSolBase::id = 0
protected

◆ idprefix

std::string solver::ppsol::PPSolBase::idprefix = ""

◆ num_of_ppsol

int solver::ppsol::PPSolBase::num_of_ppsol = 0
inlinestaticprotected

◆ ppsoltml

tml::tmlnode solver::ppsol::PPSolBase::ppsoltml

◆ subpartinfo

tml::table solver::ppsol::PPSolBase::subpartinfo

The documentation for this class was generated from the following file: