MAIA bb96820c
Multiphysics at AIA
|
#include <lsfv.h>
Public Types | |
using | LsSolver = LsCartesianSolver< nDim > |
using | FvCartesianSolver = FvCartesianSolverXD< nDim, SysEqn > |
using | Cell = typename maia::grid::tree::Tree< nDim >::Cell |
![]() | |
using | solverType = LsCartesianSolver< nDim > |
Public Member Functions | |
CouplingLsFv (const MInt couplingId, LsSolver *ls, FvCartesianSolver *fv) | |
void | init () override |
void | preCouple (MInt) override |
void | subCouple (MInt, MInt, std::vector< MBool > &) override |
void | postCouple (MInt recipeStep=0) override |
void | finalizeCouplerInit () override |
void | finalizeSubCoupleInit (MInt) override |
void | postAdaptation () override |
finalizeAdaptation More... | |
void | cleanUp () override |
![]() | |
CouplingLS (const MInt couplingId, solverType *b) | |
solverType & | lsSolver () const |
MInt | a_noLsCells () const |
MFloat | a_outsideGValue () const |
MInt | a_noG0Cells (MInt set) const |
MInt | a_noBandCells (MInt set) const |
MInt | a_maxGCellLevel (const MInt setId) const |
MFloat & | a_levelSetFunctionG (const MInt cellId, const MInt setId) |
MInt | a_bodyIdG (const MInt cellId, const MInt set) const |
MInt & | a_bodyIdG (const MInt cellId, const MInt set) |
MFloat | a_coordinateG (const MInt gCellId, const MInt dim) const |
MInt | a_G0CellId (const MInt id, const MInt set) const |
MFloat | a_normalVectorG (const MInt gCellId, const MInt dim, const MInt set) const |
MFloat | a_curvatureG (const MInt gCellId, const MInt set) const |
MBool | a_inBandG (MInt gcellId, MInt set) const |
MInt | a_potentialGapCellClose (MInt gcellId) const |
MBool | a_nearGapG (const MInt gcellId) const |
MInt | a_bodyToSet (const MInt bodyId) const |
MInt | a_noEmbeddedBodies () const |
MInt | a_noSets () const |
MInt | a_maxnoSets () const |
MInt | a_startSet () const |
MFloat & | a_extensionVelocityG (const MInt cellId, const MInt dim, const MInt setId) |
![]() | |
Coupling (const MInt couplingId) | |
virtual | ~Coupling ()=default |
Coupling (const Coupling &)=delete | |
Coupling & | operator= (const Coupling &)=delete |
MInt | couplerId () const |
virtual void | init ()=0 |
virtual void | finalizeSubCoupleInit (MInt solverId)=0 |
virtual void | finalizeCouplerInit ()=0 |
virtual void | preCouple (MInt recipeStep)=0 |
virtual void | subCouple (MInt recipeStep, MInt solverId, std::vector< MBool > &solverCompleted)=0 |
virtual void | postCouple (MInt recipeStep)=0 |
virtual void | cleanUp ()=0 |
virtual void | balancePre () |
Load balancing. More... | |
virtual void | balancePost () |
virtual void | reinitAfterBalance () |
virtual void | prepareAdaptation () |
virtual void | postAdaptation () |
virtual void | finalizeAdaptation (const MInt) |
virtual void | writeRestartFile (const MInt) |
virtual MInt | noCellDataDlb () const |
Methods to inquire coupler data during balancing. More... | |
virtual MInt | cellDataTypeDlb (const MInt NotUsed(dataId)) const |
virtual MInt | cellDataSizeDlb (const MInt NotUsed(dataId), const MInt NotUsed(cellId)) |
virtual void | getCellDataDlb (const MInt NotUsed(dataId), const MInt NotUsed(oldNoCells), const MInt *const NotUsed(bufferIdToCellId), MInt *const NotUsed(data)) |
virtual void | getCellDataDlb (const MInt NotUsed(dataId), const MInt NotUsed(oldNoCells), const MInt *const NotUsed(bufferIdToCellId), MLong *const NotUsed(data)) |
virtual void | getCellDataDlb (const MInt NotUsed(dataId), const MInt NotUsed(oldNoCells), const MInt *const NotUsed(bufferIdToCellId), MFloat *const NotUsed(data)) |
virtual void | setCellDataDlb (const MInt NotUsed(dataId), const MInt *const NotUsed(data)) |
virtual void | setCellDataDlb (const MInt NotUsed(dataId), const MLong *const NotUsed(data)) |
virtual void | setCellDataDlb (const MInt NotUsed(dataId), const MFloat *const NotUsed(data)) |
virtual void | finalizeBalance (const MInt) |
virtual MInt | noCouplingTimers (const MBool NotUsed(allTimings)) const |
Number of coupling timers. More... | |
virtual void | getCouplingTimings (std::vector< std::pair< MString, MFloat > > &NotUsed(timings), const MBool NotUsed(allTimings)) |
Return coupling timings. More... | |
virtual void | getDomainDecompositionInformation (std::vector< std::pair< MString, MInt > > &NotUsed(domainInfo)) |
Return information on current domain decomposition (e.g. number of coupled cells/elements/...) More... | |
void | setDlbTimer (const MInt timerId) |
void | startLoadTimer (const MString &name) const |
Start the load timer of the coupler. More... | |
void | stopLoadTimer (const MString &name) const |
Stop the load timer of the coupler. More... | |
Static Public Attributes | |
static constexpr MInt | nDim = nDim_ |
Private Member Functions | |
void | initData () |
Initialize coupling-class-specific Data. More... | |
void | checkProperties () override |
Checks property-data which is read in by both ls-and Fv-Solver. More... | |
void | readProperties () override |
void | returnStep_semiLagrange () |
mimics the behaviour of the rungeKuttaStep() methods with respect to increasing time More... | |
void | transferGapCellProperty () |
Sets the gapcell-property. More... | |
void | testGapProperty () |
transfers the LevelSetValues from the levelset to the moving boundary Part More... | |
void | computeGCellTimeStep () |
computes the gcell time step More... | |
void | computeBodyProperties (MInt returnMode, MFloat *bodyData, MInt body, MFloat time) |
void | testCoupling () |
transfers the LevelSetValues from the levelset to the moving boundary Part More... | |
void | setLsInList (MIntScratchSpace &) |
void | transferLevelSetValues () |
Sets the Levelset-Values in fvSolver. More... | |
MInt | ls2fvId (const MInt lsId) |
MInt | ls2fvIdParent (const MInt lsId) |
MInt | fv2lsId (const MInt fvId) |
MInt | fv2lsIdParent (const MInt fvId) |
MInt | noLevelSetFieldData () |
MFloat | interpolateLevelSet (MInt cellId, MFloat *point, MInt set) |
MBool | returnStep () |
mimics the behaviour of the rungeKuttaStep() methods with respect to increasing time More... | |
MFloat | lsTimeStep () const |
MFloat | crankAngle (MFloat) |
help-function for engine calculations which returns the crank-angle for a given time More... | |
MFloat | a_meanCoord (MInt dir) const |
MFloat | a_UInfinity () const |
MFloat | a_TInfinity () const |
MFloat | a_Ma () const |
MFloat | a_time () const |
MFloat | a_timeRef () const |
MFloat | a_physicalTime () const |
MInt | a_noFvCells () const |
MInt | a_noFvGridCells () const |
MInt | a_G0CellId (MInt id, MInt set) const |
MInt | a_RKStep () const |
MInt | a_noRKSteps () const |
![]() | |
CouplingFv (const MInt couplingId, std::vector< FvCartesianSolverXD< nDim, SysEqn > * > fvSolvers, const MInt noSolvers) | |
CouplingFv (const MInt couplingId, Solver *solvers) | |
CouplingFv (const CouplingFv &)=delete | |
~CouplingFv () override=default | |
CouplingFv & | operator= (const CouplingFv &)=delete |
MInt | noSolvers () const |
solverType & | fvSolver (const MInt solverId=0) const |
MInt | a_noFvCells () const |
MInt | a_noFvGridCells () const |
![]() | |
Coupling (const MInt couplingId) | |
virtual | ~Coupling ()=default |
Coupling (const Coupling &)=delete | |
Coupling & | operator= (const Coupling &)=delete |
MInt | couplerId () const |
virtual void | init ()=0 |
virtual void | finalizeSubCoupleInit (MInt solverId)=0 |
virtual void | finalizeCouplerInit ()=0 |
virtual void | preCouple (MInt recipeStep)=0 |
virtual void | subCouple (MInt recipeStep, MInt solverId, std::vector< MBool > &solverCompleted)=0 |
virtual void | postCouple (MInt recipeStep)=0 |
virtual void | cleanUp ()=0 |
virtual void | balancePre () |
Load balancing. More... | |
virtual void | balancePost () |
virtual void | reinitAfterBalance () |
virtual void | prepareAdaptation () |
virtual void | postAdaptation () |
virtual void | finalizeAdaptation (const MInt) |
virtual void | writeRestartFile (const MInt) |
virtual MInt | noCellDataDlb () const |
Methods to inquire coupler data during balancing. More... | |
virtual MInt | cellDataTypeDlb (const MInt NotUsed(dataId)) const |
virtual MInt | cellDataSizeDlb (const MInt NotUsed(dataId), const MInt NotUsed(cellId)) |
virtual void | getCellDataDlb (const MInt NotUsed(dataId), const MInt NotUsed(oldNoCells), const MInt *const NotUsed(bufferIdToCellId), MInt *const NotUsed(data)) |
virtual void | getCellDataDlb (const MInt NotUsed(dataId), const MInt NotUsed(oldNoCells), const MInt *const NotUsed(bufferIdToCellId), MLong *const NotUsed(data)) |
virtual void | getCellDataDlb (const MInt NotUsed(dataId), const MInt NotUsed(oldNoCells), const MInt *const NotUsed(bufferIdToCellId), MFloat *const NotUsed(data)) |
virtual void | setCellDataDlb (const MInt NotUsed(dataId), const MInt *const NotUsed(data)) |
virtual void | setCellDataDlb (const MInt NotUsed(dataId), const MLong *const NotUsed(data)) |
virtual void | setCellDataDlb (const MInt NotUsed(dataId), const MFloat *const NotUsed(data)) |
virtual void | finalizeBalance (const MInt) |
virtual MInt | noCouplingTimers (const MBool NotUsed(allTimings)) const |
Number of coupling timers. More... | |
virtual void | getCouplingTimings (std::vector< std::pair< MString, MFloat > > &NotUsed(timings), const MBool NotUsed(allTimings)) |
Return coupling timings. More... | |
virtual void | getDomainDecompositionInformation (std::vector< std::pair< MString, MInt > > &NotUsed(domainInfo)) |
Return information on current domain decomposition (e.g. number of coupled cells/elements/...) More... | |
void | setDlbTimer (const MInt timerId) |
void | startLoadTimer (const MString &name) const |
Start the load timer of the coupler. More... | |
void | stopLoadTimer (const MString &name) const |
Stop the load timer of the coupler. More... | |
MFloat | returnLoadRecord () const |
MFloat | returnIdleRecord () const |
Static Private Attributes | |
static constexpr const MInt | m_maxNoEmbeddedBodies = 20 |
Friends | |
class | FvCartesianSolverXD< nDim, SysEqn > |
class | LsCartesianSolver< nDim > |
Additional Inherited Members | |
![]() | |
MFloat | returnLoadRecord () const |
MFloat | returnIdleRecord () const |
![]() | |
using | solverType = FvCartesianSolverXD< nDim, SysEqn > |
using CouplingLsFv< nDim_, SysEqn >::Cell = typename maia::grid::tree::Tree<nDim>::Cell |
using CouplingLsFv< nDim_, SysEqn >::FvCartesianSolver = FvCartesianSolverXD<nDim, SysEqn> |
using CouplingLsFv< nDim_, SysEqn >::LsSolver = LsCartesianSolver<nDim> |
CouplingLsFv< nDim, SysEqn >::CouplingLsFv | ( | const MInt | couplingId, |
LsSolver * | ls, | ||
FvCartesianSolver * | fv | ||
) |
Definition at line 26 of file lsfv.cpp.
|
inlineprivate |
|
inlineprivate |
Definition at line 160 of file lsfv.h.
|
inlineprivate |
|
inlineprivate |
Definition at line 165 of file lsfv.h.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
overrideprivatevirtual |
Implements Coupling.
|
inlineoverridevirtual |
|
private |
|
private |
Definition at line 214 of file lsfv.cpp.
|
private |
Definition at line 1886 of file lsfv.cpp.
|
overridevirtual |
\initializes the coupler in context of the unified run loop
Implements Coupling.
Definition at line 59 of file lsfv.cpp.
|
inlineoverridevirtual |
|
inlineprivate |
Definition at line 134 of file lsfv.h.
|
inlineprivate |
Definition at line 141 of file lsfv.h.
|
overridevirtual |
\initializes the coupler in context of the unified run loop
Implements Coupling.
Definition at line 43 of file lsfv.cpp.
|
private |
|
private |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
private |
Definition at line 284 of file lsfv.cpp.
|
overridevirtual |
Reimplemented from Coupling.
|
overridevirtual |
\ postCouple routine in context of the unified run loop
Implements Coupling.
Definition at line 86 of file lsfv.cpp.
|
overridevirtual |
\ preCouple routine in context of the unified run loop
Implements Coupling.
Definition at line 74 of file lsfv.cpp.
|
overrideprivatevirtual |
Implements Coupling.
|
private |
|
private |
|
private |
Definition at line 304 of file lsfv.cpp.
|
inlineoverridevirtual |
|
private |
Definition at line 583 of file lsfv.cpp.
|
private |
Definition at line 560 of file lsfv.cpp.
|
private |
Definition at line 433 of file lsfv.cpp.
|
private |
Definition at line 398 of file lsfv.cpp.
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticconstexprprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticconstexpr |