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

#include <coupling.h>

Inheritance diagram for CouplingRigidBodies< nDim >:
[legend]
Collaboration diagram for CouplingRigidBodies< nDim >:
[legend]

Public Types

using RBodies = RigidBodies< nDim >
 

Public Member Functions

 CouplingRigidBodies (const MInt couplingId, RBodies *solver)
 
MInt a_noEmbeddedBodies () const
 
MInt a_noCollectorBodies () const
 
- 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...
 

Protected Member Functions

RBodiesbodies () const
 
- Protected Member Functions inherited from Coupling
MFloat returnLoadRecord () const
 
MFloat returnIdleRecord () const
 

Private Attributes

RBodiesm_rigidBodies
 

Detailed Description

template<MInt nDim>
class CouplingRigidBodies< nDim >

Definition at line 584 of file coupling.h.

Member Typedef Documentation

◆ RBodies

template<MInt nDim>
using CouplingRigidBodies< nDim >::RBodies = RigidBodies<nDim>

Definition at line 586 of file coupling.h.

Constructor & Destructor Documentation

◆ CouplingRigidBodies()

template<MInt nDim>
CouplingRigidBodies< nDim >::CouplingRigidBodies ( const MInt  couplingId,
RBodies solver 
)
inline

Definition at line 588 of file coupling.h.

588: Coupling(couplingId) { m_rigidBodies = solver; }
RBodies * m_rigidBodies
Definition: coupling.h:597

Member Function Documentation

◆ a_noCollectorBodies()

template<MInt nDim>
MInt CouplingRigidBodies< nDim >::a_noCollectorBodies ( ) const
inline

Definition at line 591 of file coupling.h.

591{ return bodies().noCollectorBodies(); }
RBodies & bodies() const
Definition: coupling.h:594
MInt noCollectorBodies() const
Definition: rigidbodies.h:425

◆ a_noEmbeddedBodies()

template<MInt nDim>
MInt CouplingRigidBodies< nDim >::a_noEmbeddedBodies ( ) const
inline

Definition at line 590 of file coupling.h.

590{ return bodies().noEmbeddedBodies(); }
MInt noEmbeddedBodies() const
Definition: rigidbodies.h:421

◆ bodies()

template<MInt nDim>
RBodies & CouplingRigidBodies< nDim >::bodies ( ) const
inlineprotected

Definition at line 594 of file coupling.h.

594{ return *m_rigidBodies; }

Member Data Documentation

◆ m_rigidBodies

template<MInt nDim>
RBodies* CouplingRigidBodies< nDim >::m_rigidBodies
private

Definition at line 597 of file coupling.h.


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