MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
CouplingLpt< nDim, CouplingFlowSolver > Class Template Reference

#include <couplinglpt.h>

Inheritance diagram for CouplingLpt< nDim, CouplingFlowSolver >:
[legend]
Collaboration diagram for CouplingLpt< nDim, CouplingFlowSolver >:
[legend]

Classes

struct  ConversionFactor
 

Public Types

using FlowSolver = typename CouplingFlowSolver::solverType
 
using Lpt = typename CouplingParticle< nDim >::solverType
 
- Public Types inherited from CouplingParticle< nDim >
using solverType = LPT< nDim >
 

Public Member Functions

 CouplingLpt (const MInt couplingId, Lpt *particle, FlowSolver *flowSolver)
 
virtual ~CouplingLpt ()=default
 
- Public Member Functions inherited from CouplingParticle< nDim >
 CouplingParticle (const MInt couplingId, LPT< nDim > *solver)
 
- Public Member Functions inherited from Coupling
 Coupling (const MInt couplingId)
 
virtual ~Coupling ()=default
 
 Coupling (const Coupling &)=delete
 
Couplingoperator= (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...
 

Public Attributes

ConversionFactor conversionFlowLpt
 
ConversionFactor conversionLptFlow
 

Additional Inherited Members

- Protected Member Functions inherited from CouplingParticle< nDim >
virtual LPT< nDim > & lpt () const
 
- Protected Member Functions inherited from Coupling
MFloat returnLoadRecord () const
 
MFloat returnIdleRecord () const
 

Detailed Description

template<MInt nDim, class CouplingFlowSolver>
class CouplingLpt< nDim, CouplingFlowSolver >

Definition at line 20 of file couplinglpt.h.

Member Typedef Documentation

◆ FlowSolver

template<MInt nDim, class CouplingFlowSolver >
using CouplingLpt< nDim, CouplingFlowSolver >::FlowSolver = typename CouplingFlowSolver::solverType

Definition at line 23 of file couplinglpt.h.

◆ Lpt

template<MInt nDim, class CouplingFlowSolver >
using CouplingLpt< nDim, CouplingFlowSolver >::Lpt = typename CouplingParticle<nDim>::solverType

Definition at line 24 of file couplinglpt.h.

Constructor & Destructor Documentation

◆ CouplingLpt()

template<MInt nDim, class CouplingFlowSolver >
CouplingLpt< nDim, CouplingFlowSolver >::CouplingLpt ( const MInt  couplingId,
Lpt particle,
FlowSolver flowSolver 
)
inline

Definition at line 47 of file couplinglpt.h.

48 : Coupling(couplingId), CouplingParticle<nDim>(couplingId, particle), CouplingFlowSolver(couplingId, flowSolver){};

◆ ~CouplingLpt()

template<MInt nDim, class CouplingFlowSolver >
virtual CouplingLpt< nDim, CouplingFlowSolver >::~CouplingLpt ( )
virtualdefault

Member Data Documentation

◆ conversionFlowLpt

template<MInt nDim, class CouplingFlowSolver >
ConversionFactor CouplingLpt< nDim, CouplingFlowSolver >::conversionFlowLpt

Definition at line 43 of file couplinglpt.h.

◆ conversionLptFlow

template<MInt nDim, class CouplingFlowSolver >
ConversionFactor CouplingLpt< nDim, CouplingFlowSolver >::conversionLptFlow

Definition at line 44 of file couplinglpt.h.


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