MAIA bb96820c
Multiphysics at AIA
|
#include <fvcartesianinterpolation.h>
Public Types | |
using | OldFvSolver = FvCartesianSolverXD< nDim, SysEqnOld > |
using | NewFvSolver = FvCartesianSolverXD< nDim, SysEqnNew > |
Public Member Functions | |
FvCartesianInterpolation (const MInt couplingId, OldFvSolver *oldS, NewFvSolver *newS) | |
~FvCartesianInterpolation () | |
void | init () override |
void | preCouple (MInt) override |
void | postCouple (MInt) override |
Public Member Functions inherited from Coupling | |
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 | |
OldFvSolver & | oldSolver () const |
NewFvSolver & | newSolver () const |
MInt | noExchangeVariables () |
void | finalizeSubCoupleInit (MInt) |
void | finalizeCouplerInit () |
void | subCouple (MInt, MInt, std::vector< MBool > &) |
void | cleanUp () |
void | initData () |
void | checkProperties () |
void | readProperties () |
void | transferSolverData () |
interpolate variables from old to new More... | |
MInt | a_noFvCellsOld () const |
MInt | a_noFvGridCellsOld () const |
MInt | a_noFvCellsNew () const |
MInt | a_noFvGridCellsNew () const |
Private Attributes | |
OldFvSolver * | m_oldSolver |
NewFvSolver * | m_newSolver |
const MFloat | eps = 1e-16 |
const MFloat | epss = 1e-8 |
MInt | m_oldSolverId |
MInt | m_newSolverId |
MBool | m_nonZonalRestart |
Additional Inherited Members | |
Protected Member Functions inherited from Coupling | |
MFloat | returnLoadRecord () const |
MFloat | returnIdleRecord () const |
Coupling class for nonZonalRestart (can be expended to a general FV-FV coupling class)
Definition at line 30 of file fvcartesianinterpolation.h.
using FvCartesianInterpolation< nDim_, SysEqnOld, SysEqnNew >::NewFvSolver = FvCartesianSolverXD<nDim, SysEqnNew> |
Definition at line 36 of file fvcartesianinterpolation.h.
using FvCartesianInterpolation< nDim_, SysEqnOld, SysEqnNew >::OldFvSolver = FvCartesianSolverXD<nDim, SysEqnOld> |
Definition at line 35 of file fvcartesianinterpolation.h.
FvCartesianInterpolation< nDim_, SysEqnOld, SysEqnNew >::FvCartesianInterpolation | ( | const MInt | couplingId, |
OldFvSolver * | oldS, | ||
NewFvSolver * | newS | ||
) |
|
inline |
Definition at line 39 of file fvcartesianinterpolation.h.
|
inlineprivate |
Definition at line 66 of file fvcartesianinterpolation.h.
|
inlineprivate |
Definition at line 64 of file fvcartesianinterpolation.h.
|
inlineprivate |
Definition at line 67 of file fvcartesianinterpolation.h.
|
inlineprivate |
Definition at line 65 of file fvcartesianinterpolation.h.
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
overridevirtual |
Implements Coupling.
Definition at line 63 of file fvcartesianinterpolation.cpp.
|
inlineprivate |
Definition at line 58 of file fvcartesianinterpolation.h.
|
inlineprivate |
Definition at line 50 of file fvcartesianinterpolation.h.
|
inlineprivate |
Definition at line 52 of file fvcartesianinterpolation.h.
|
inlineprivate |
Definition at line 49 of file fvcartesianinterpolation.h.
|
overridevirtual |
Implements Coupling.
Definition at line 82 of file fvcartesianinterpolation.cpp.
|
overridevirtual |
Implements Coupling.
Definition at line 72 of file fvcartesianinterpolation.cpp.
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
private |
Definition at line 95 of file fvcartesianinterpolation.cpp.
|
private |
Definition at line 69 of file fvcartesianinterpolation.h.
|
private |
Definition at line 70 of file fvcartesianinterpolation.h.
|
private |
Definition at line 47 of file fvcartesianinterpolation.h.
|
private |
Definition at line 73 of file fvcartesianinterpolation.h.
|
private |
Definition at line 75 of file fvcartesianinterpolation.h.
|
private |
Definition at line 46 of file fvcartesianinterpolation.h.
|
private |
Definition at line 72 of file fvcartesianinterpolation.h.
|
staticconstexpr |
Definition at line 32 of file fvcartesianinterpolation.h.