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

#include <fvstructuredcomm.h>

Collaboration diagram for StructuredComm< nDim >:
[legend]

Public Member Functions

 StructuredComm (const MInt, MFloat *const *const, const MInt, const MInt, const StructuredCommType)
 
 ~StructuredComm ()
 

Public Attributes

const MInt noVars
 
MFloat *const *const variables
 
const MInt noCells
 
const MInt noPoints
 
const StructuredCommType commType
 
MInt bcId {}
 
MInt tagHelper {}
 
MInt nghbrId {}
 
MInt cellBufferSize {}
 
MInt pointBufferSize {}
 
std::unique_ptr< MFloat[]> cellBuffer {}
 
std::unique_ptr< MFloat[]> pointBuffer {}
 
MPI_Request mpi_request
 
MPI_Status mpi_status
 
std::array< MInt, nDim > startInfoCells {}
 
std::array< MInt, nDim > endInfoCells {}
 
std::array< MInt, nDim > startInfoPoints {}
 
std::array< MInt, nDim > endInfoPoints {}
 
std::array< MInt, nDim > orderInfo {}
 
std::array< MInt, nDim > stepInfo {}
 

Detailed Description

template<MInt nDim>
class StructuredComm< nDim >

Definition at line 19 of file fvstructuredcomm.h.

Constructor & Destructor Documentation

◆ StructuredComm()

template<MInt nDim>
StructuredComm< nDim >::StructuredComm ( const MInt  noVars_,
MFloat *const * const  variables_,
const MInt  noCells_,
const MInt  noPoints_,
const StructuredCommType  commType_ 
)

Definition at line 13 of file fvstructuredcomm.cpp.

18 : noVars(noVars_), variables(variables_), noCells(noCells_), noPoints(noPoints_), commType(commType_) {
21
22 cellBuffer = std::make_unique<MFloat[]>(mMax(cellBufferSize, 0));
23 pointBuffer = std::make_unique<MFloat[]>(mMax(pointBufferSize, 0));
24
25 // mAlloc(cellBuffer, cellBufferSize, "cellBuffer", F0, AT_);
26 // mAlloc(pointBuffer, pointBufferSize, "cellBuffer", F0, AT_);
27
28 mpi_request = MPI_REQUEST_NULL;
29}
MPI_Request mpi_request
std::unique_ptr< MFloat[]> pointBuffer
std::unique_ptr< MFloat[]> cellBuffer
const StructuredCommType commType
const MInt noVars
const MInt noCells
MFloat *const *const variables
const MInt noPoints
constexpr T mMax(const T &x, const T &y)
Definition: functions.h:94

◆ ~StructuredComm()

template<MInt nDim>
StructuredComm< nDim >::~StructuredComm ( )
inline

Definition at line 22 of file fvstructuredcomm.h.

22{};

Member Data Documentation

◆ bcId

template<MInt nDim>
MInt StructuredComm< nDim >::bcId {}

Definition at line 30 of file fvstructuredcomm.h.

◆ cellBuffer

template<MInt nDim>
std::unique_ptr<MFloat[]> StructuredComm< nDim >::cellBuffer {}

Definition at line 36 of file fvstructuredcomm.h.

◆ cellBufferSize

template<MInt nDim>
MInt StructuredComm< nDim >::cellBufferSize {}

Definition at line 33 of file fvstructuredcomm.h.

◆ commType

template<MInt nDim>
const StructuredCommType StructuredComm< nDim >::commType

Definition at line 28 of file fvstructuredcomm.h.

◆ endInfoCells

template<MInt nDim>
std::array<MInt, nDim> StructuredComm< nDim >::endInfoCells {}

Definition at line 47 of file fvstructuredcomm.h.

◆ endInfoPoints

template<MInt nDim>
std::array<MInt, nDim> StructuredComm< nDim >::endInfoPoints {}

Definition at line 49 of file fvstructuredcomm.h.

◆ mpi_request

template<MInt nDim>
MPI_Request StructuredComm< nDim >::mpi_request

Definition at line 43 of file fvstructuredcomm.h.

◆ mpi_status

template<MInt nDim>
MPI_Status StructuredComm< nDim >::mpi_status

Definition at line 44 of file fvstructuredcomm.h.

◆ nghbrId

template<MInt nDim>
MInt StructuredComm< nDim >::nghbrId {}

Definition at line 32 of file fvstructuredcomm.h.

◆ noCells

template<MInt nDim>
const MInt StructuredComm< nDim >::noCells

Definition at line 26 of file fvstructuredcomm.h.

◆ noPoints

template<MInt nDim>
const MInt StructuredComm< nDim >::noPoints

Definition at line 27 of file fvstructuredcomm.h.

◆ noVars

template<MInt nDim>
const MInt StructuredComm< nDim >::noVars

Definition at line 24 of file fvstructuredcomm.h.

◆ orderInfo

template<MInt nDim>
std::array<MInt, nDim> StructuredComm< nDim >::orderInfo {}

Definition at line 51 of file fvstructuredcomm.h.

◆ pointBuffer

template<MInt nDim>
std::unique_ptr<MFloat[]> StructuredComm< nDim >::pointBuffer {}

Definition at line 37 of file fvstructuredcomm.h.

◆ pointBufferSize

template<MInt nDim>
MInt StructuredComm< nDim >::pointBufferSize {}

Definition at line 34 of file fvstructuredcomm.h.

◆ startInfoCells

template<MInt nDim>
std::array<MInt, nDim> StructuredComm< nDim >::startInfoCells {}

Definition at line 46 of file fvstructuredcomm.h.

◆ startInfoPoints

template<MInt nDim>
std::array<MInt, nDim> StructuredComm< nDim >::startInfoPoints {}

Definition at line 48 of file fvstructuredcomm.h.

◆ stepInfo

template<MInt nDim>
std::array<MInt, nDim> StructuredComm< nDim >::stepInfo {}

Definition at line 52 of file fvstructuredcomm.h.

◆ tagHelper

template<MInt nDim>
MInt StructuredComm< nDim >::tagHelper {}

Definition at line 31 of file fvstructuredcomm.h.

◆ variables

template<MInt nDim>
MFloat* const* const StructuredComm< nDim >::variables

Definition at line 25 of file fvstructuredcomm.h.


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