DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::CFV::ModelEvaluator Class Reference

#include <ModelEvaluator.hpp>

Classes

struct  EvaluateRHSOptions
 

Public Types

using tvfv = CFV::VariationalReconstruction< dim >
 
using TVec = Eigen::Matrix< real, dim, 1 >
 
using TMat = Eigen::Matrix< real, dim, dim >
 
using TU = Eigen::Matrix< real, nVarsFixed, 1 >
 
using TDiffU = Eigen::Matrix< real, dim, nVarsFixed >
 
using Tvfv_FBoundary = typename tvfv::TFBoundary< nVarsFixed >
 

Public Member Functions

 ModelEvaluator (decltype(mesh) mesh_, decltype(vfv) vfv_, const ModelSettings &settings_, int nVars)
 
ModelSettingsget_settings ()
 
Tvfv_FBoundary get_FBoundary (real t)
 
TU generateBoundaryValue (TU &ULxy, const TU &ULMeanXy, index iCell, index iFace, int iG, const TVec &uNorm, const TMat &normBase, const Geom::tPoint &pPhysics, real t, Geom::t_index btype, bool fixUL=false, int geomMode=0, int linMode=0)
 
void EvaluateRHS (tUDof< nVarsFixed > &rhs, tUDof< nVarsFixed > &u, tURec< nVarsFixed > &uRec, real t, const EvaluateRHSOptions &options=EvaluateRHSOptions{})
 
void DoReconstructionIter (tURec< nVarsFixed > &uRec, tURec< nVarsFixed > &uRecNew, tUDof< nVarsFixed > &u, real t, bool putIntoNew=false, bool recordInc=false, bool uRecIsZero=false)
 

Static Public Attributes

static const int nVarsFixed = DynamicSize
 
static const int dim = 2
 

Detailed Description

Definition at line 33 of file ModelEvaluator.hpp.

Member Typedef Documentation

◆ TDiffU

Definition at line 51 of file ModelEvaluator.hpp.

◆ TMat

using DNDS::CFV::ModelEvaluator::TMat = Eigen::Matrix<real, dim, dim>

Definition at line 49 of file ModelEvaluator.hpp.

◆ TU

using DNDS::CFV::ModelEvaluator::TU = Eigen::Matrix<real, nVarsFixed, 1>

Definition at line 50 of file ModelEvaluator.hpp.

◆ TVec

using DNDS::CFV::ModelEvaluator::TVec = Eigen::Matrix<real, dim, 1>

Definition at line 48 of file ModelEvaluator.hpp.

◆ tvfv

◆ Tvfv_FBoundary

Constructor & Destructor Documentation

◆ ModelEvaluator()

DNDS::CFV::ModelEvaluator::ModelEvaluator ( decltype(mesh)  mesh_,
decltype(vfv)  vfv_,
const ModelSettings settings_,
int  nVars 
)
inline

Definition at line 54 of file ModelEvaluator.hpp.

Member Function Documentation

◆ DoReconstructionIter()

void DNDS::CFV::ModelEvaluator::DoReconstructionIter ( tURec< nVarsFixed > &  uRec,
tURec< nVarsFixed > &  uRecNew,
tUDof< nVarsFixed > &  u,
real  t,
bool  putIntoNew = false,
bool  recordInc = false,
bool  uRecIsZero = false 
)
inline

Definition at line 109 of file ModelEvaluator.hpp.

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

◆ EvaluateRHS()

void DNDS::CFV::ModelEvaluator::EvaluateRHS ( tUDof< nVarsFixed > &  rhs,
tUDof< nVarsFixed > &  u,
tURec< nVarsFixed > &  uRec,
real  t,
const EvaluateRHSOptions options = EvaluateRHSOptions{} 
)

Definition at line 6 of file ModelEvaluator.cpp.

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

◆ generateBoundaryValue()

TU DNDS::CFV::ModelEvaluator::generateBoundaryValue ( TU ULxy,
const TU ULMeanXy,
index  iCell,
index  iFace,
int  iG,
const TVec uNorm,
const TMat normBase,
const Geom::tPoint pPhysics,
real  t,
Geom::t_index  btype,
bool  fixUL = false,
int  geomMode = 0,
int  linMode = 0 
)
inline
Parameters
ULMeanXywarning, possible that UL is also modified

Definition at line 81 of file ModelEvaluator.hpp.

Here is the caller graph for this function:

◆ get_FBoundary()

Tvfv_FBoundary DNDS::CFV::ModelEvaluator::get_FBoundary ( real  t)
inline

Definition at line 63 of file ModelEvaluator.hpp.

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

◆ get_settings()

ModelSettings & DNDS::CFV::ModelEvaluator::get_settings ( )
inline

Definition at line 61 of file ModelEvaluator.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ dim

const int DNDS::CFV::ModelEvaluator::dim = 2
static

Definition at line 37 of file ModelEvaluator.hpp.

◆ nVarsFixed

const int DNDS::CFV::ModelEvaluator::nVarsFixed = DynamicSize
static

Definition at line 36 of file ModelEvaluator.hpp.


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