PhyStar  v0.0.0 thu24
solver::Solver Class Reference

#include <SolverBase.hpp>

Inheritance diagram for solver::Solver:
Collaboration diagram for solver::Solver:

Public Member Functions

 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 ()
 

Static Public Member Functions

static const auto & GlobalDict ()
 
static const auto & Dt ()
 

Static Protected Attributes

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 = "DMFSol"
 

Constructor & Destructor Documentation

◆ Solver()

solver::Solver::Solver ( )
inline

◆ ~Solver()

virtual solver::Solver::~Solver ( )
inlinevirtual

References solver::kall.

Member Function Documentation

◆ ConfigGlobalDict()

void solver::Solver::ConfigGlobalDict ( const std::string  filename)
inline

References solver::database::controldict, and RandomNumber< T_real >::setRandomSeed().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Dt()

static const auto& solver::Solver::Dt ( )
inlinestatic
Here is the caller graph for this function:

◆ GetMeshName()

virtual std::string solver::Solver::GetMeshName ( )
inlinevirtual

◆ GetSolverName()

◆ GlobalDict()

static const auto& solver::Solver::GlobalDict ( )
inlinestatic
Here is the caller graph for this function:

◆ PrintAbstract()

void solver::Solver::PrintAbstract ( )
inline

References GetSolverName().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintConfigGlobalDict()

void solver::Solver::PrintConfigGlobalDict ( )
inline
Here is the caller graph for this function:

◆ Relase()

void solver::Solver::Relase ( const SolverNameList flag)
inline

Member Data Documentation

◆ _name

const std::string solver::Solver::_name = "DMFSol"
private

◆ casename

std::string solver::Solver::casename

◆ count

int solver::Solver::count
inlinestaticprotected

◆ density

Real solver::Solver::density
inlinestaticprotected

◆ dt

Real solver::Solver::dt
inlinestaticprotected

◆ 

struct { ... } solver::Solver::globaldict

◆ globaltml

tml::tmlnode solver::Solver::globaltml
inlinestaticprotected

◆ header

std::string solver::Solver::header = "PhyStar"
inlinestaticprotected

◆ kvisc

Real solver::Solver::kvisc
inlinestaticprotected

◆ ndim

int solver::Solver::ndim

◆ nstep

int solver::Solver::nstep

◆ ppsol_flag

int solver::Solver::ppsol_flag

◆ ppsol_same_dict

int solver::Solver::ppsol_same_dict

◆ ptr_fluidsol

Solver* solver::Solver::ptr_fluidsol = nullptr
inlinestaticprotected

◆ ptr_point_particlesol

Solver* solver::Solver::ptr_point_particlesol = nullptr
inlinestaticprotected

◆ ptr_resolved_particlesol

Solver* solver::Solver::ptr_resolved_particlesol = nullptr
inlinestaticprotected

◆ random_seed

unsigned int solver::Solver::random_seed

◆ step_end

int solver::Solver::step_end

◆ step_ndump

int solver::Solver::step_ndump

◆ step_nrefresh

int solver::Solver::step_nrefresh

◆ step_nscreen

int solver::Solver::step_nscreen

◆ step_nstat

int solver::Solver::step_nstat

◆ step_start

int solver::Solver::step_start

◆ time_end

Real solver::Solver::time_end

◆ time_ndump

Real solver::Solver::time_ndump

◆ time_start

Real solver::Solver::time_start

◆ version

std::string solver::Solver::version = "v0.0.1"
inlinestaticprotected

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