MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
StructuredZonalComm Class Reference

#include <fvstructuredzonalbc.h>

Public Member Functions

 StructuredZonalComm (const MInt, const MInt, const MInt)
 

Public Attributes

const MInt bufferSize
 
const MInt localId
 
const MInt noVars
 
MFloatbuffer = nullptr
 
MIntmapCellId = nullptr
 

Detailed Description

Definition at line 14 of file fvstructuredzonalbc.h.

Constructor & Destructor Documentation

◆ StructuredZonalComm()

StructuredZonalComm::StructuredZonalComm ( const MInt  _noCells,
const MInt  _localId,
const MInt  _noVars 
)

Definition at line 10 of file fvstructuredzonalbc.cpp.

11 : bufferSize(_noCells), localId(_localId), noVars(_noVars) {
12 mAlloc(mapCellId, bufferSize, "bufferMapCellId", -1, AT_);
13 mAlloc(buffer, noVars * bufferSize, "buffer", -1.0, AT_);
14}
void mAlloc(T *&a, const MLong N, const MString &objectName, MString function)
allocates memory for one-dimensional array 'a' of size N
Definition: alloc.h:173

Member Data Documentation

◆ buffer

MFloat* StructuredZonalComm::buffer = nullptr

Definition at line 21 of file fvstructuredzonalbc.h.

◆ bufferSize

const MInt StructuredZonalComm::bufferSize

Definition at line 18 of file fvstructuredzonalbc.h.

◆ localId

const MInt StructuredZonalComm::localId

Definition at line 19 of file fvstructuredzonalbc.h.

◆ mapCellId

MInt* StructuredZonalComm::mapCellId = nullptr

Definition at line 22 of file fvstructuredzonalbc.h.

◆ noVars

const MInt StructuredZonalComm::noVars

Definition at line 20 of file fvstructuredzonalbc.h.


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