13template <MInt nDim, MInt nDist,
class SysEqn>
30 :
Base(couplingId),
BaseDg(couplingId, dg, lb) {}
54 mTerm(1, AT_,
"Error: calcSourceLambLinearized source term not implemented, yet, for lbdgape!");
57 MFloat*
const sourceTerms)
override;
59 mTerm(1, AT_,
"Error: calcSourceQmII source term not implemented, yet, for lbdgape!");
62 mTerm(1, AT_,
"Error: calcSourceQmIII source term not implemented, yet, for lbdgape!");
65 mTerm(1, AT_,
"Error: calcSourceQe source term not implemented, yet, for lbdgape!");
68 const MInt )
override {
69 mTerm(1, AT_,
"Error: calcSourceQc source term not implemented, yet, for lbdgape!");
Intermediate class for coupling DG solver with APE sysEqn.
typename BaseDg::solverType DgCartesianSolverType
LbSolverDxQy< nDim, nDist, SysEqn > solverType
solverType & lbSolver(const MInt solverId=0) const
void calcSourceLambLinearized(const MFloat *const, const MFloat *const, MFloat *) override
void calcSourceQc(const MFloat *const, MFloat *const, const MFloat, const MInt) override
LbDgApe(const MInt couplingId, LbSolver *const lb, DgSolver *const dg)
solverType & lbSolver(const MInt solverId=0) const
void calcSourceQe(const MFloat *const, const MFloat, MFloat *const) override
void calcSourceQmII(const MFloat *const, MFloat *const) override
virtual void performUnitConversion(const MString &, const MInt, const MInt, MFloat *) override
Transform data from donor solver unit system into DG unit system.
void getDonorVelocityAndVorticity(const std::vector< MInt > &donorCellIds, MFloatScratchSpace &p_velocity, MFloatScratchSpace &p_vorticity) override
Get velocity and vorticity of donor solver.
void calcSourceLambNonlinear(const MFloat *const velocity, const MFloat *const vorticity, MFloat *const sourceTerms) override
struct LbDgApe::ConversionFactors m_conversionLb2Dg
LbSolver & donorSolver(const MInt xSolverId=0) const override
void finalizeCouplerInit() override
void initConversionFactors()
void calcSourceQmIII(const MFloat *const, MFloat *) override
typename BaseDg::DgCartesianSolverType DgSolver
This class is a ScratchSpace.
void mTerm(const MInt errorCode, const MString &location, const MString &message)
std::basic_string< char > MString