Block-Structured AMR Software Framework
amrex::AmrMeshDataAdaptor Class Reference

#include <AMReX_AmrMeshDataAdaptor.H>

Inheritance diagram for amrex::AmrMeshDataAdaptor:

Classes

struct  InternalsType
 

Public Member Functions

 senseiTypeMacro (AmrMeshDataAdaptor, sensei::DataAdaptor)
 
int SetDataSource (amrex::AmrMesh *mesh, const std::vector< amrex::Vector< amrex::MultiFab > * > &states, const std::vector< std::vector< std::string >> &arrayNames)
 
void SetPinMesh (int val)
 
int GetNumberOfMeshes (unsigned int &numMeshes) override
 
int GetMeshName (unsigned int id, std::string &meshName) override
 
int GetMeshHasGhostNodes (const std::string &meshName, int &nLayers) override
 
int GetMeshHasGhostCells (const std::string &meshName, int &nLayers) override
 
int GetNumberOfArrays (const std::string &meshName, int association, unsigned int &numberOfArrays) override
 
int GetArrayName (const std::string &meshName, int association, unsigned int index, std::string &arrayName) override
 
int GetMesh (const std::string &meshName, bool structureOnly, svtkDataObject *&mesh) override
 
int AddGhostNodesArray (svtkDataObject *mesh, const std::string &meshName) override
 
int AddGhostCellsArray (svtkDataObject *mesh, const std::string &meshName) override
 
int AddArray (svtkDataObject *mesh, const std::string &meshName, int association, const std::string &arrayName) override
 
int ReleaseData () override
 

Static Public Member Functions

static AmrMeshDataAdaptorNew ()
 

Protected Member Functions

 AmrMeshDataAdaptor ()
 
 ~AmrMeshDataAdaptor ()
 

Private Attributes

InternalsTypeInternals
 

Constructor & Destructor Documentation

◆ AmrMeshDataAdaptor()

amrex::AmrMeshDataAdaptor::AmrMeshDataAdaptor ( )
protected

◆ ~AmrMeshDataAdaptor()

amrex::AmrMeshDataAdaptor::~AmrMeshDataAdaptor ( )
protected

Member Function Documentation

◆ AddArray()

int amrex::AmrMeshDataAdaptor::AddArray ( svtkDataObject *  mesh,
const std::string &  meshName,
int  association,
const std::string &  arrayName 
)
override

◆ AddGhostCellsArray()

int amrex::AmrMeshDataAdaptor::AddGhostCellsArray ( svtkDataObject *  mesh,
const std::string &  meshName 
)
override

◆ AddGhostNodesArray()

int amrex::AmrMeshDataAdaptor::AddGhostNodesArray ( svtkDataObject *  mesh,
const std::string &  meshName 
)
override

◆ GetArrayName()

int amrex::AmrMeshDataAdaptor::GetArrayName ( const std::string &  meshName,
int  association,
unsigned int  index,
std::string &  arrayName 
)
override

◆ GetMesh()

int amrex::AmrMeshDataAdaptor::GetMesh ( const std::string &  meshName,
bool  structureOnly,
svtkDataObject *&  mesh 
)
override

◆ GetMeshHasGhostCells()

int amrex::AmrMeshDataAdaptor::GetMeshHasGhostCells ( const std::string &  meshName,
int nLayers 
)
override

◆ GetMeshHasGhostNodes()

int amrex::AmrMeshDataAdaptor::GetMeshHasGhostNodes ( const std::string &  meshName,
int nLayers 
)
override

◆ GetMeshName()

int amrex::AmrMeshDataAdaptor::GetMeshName ( unsigned int  id,
std::string &  meshName 
)
override

◆ GetNumberOfArrays()

int amrex::AmrMeshDataAdaptor::GetNumberOfArrays ( const std::string &  meshName,
int  association,
unsigned int numberOfArrays 
)
override

◆ GetNumberOfMeshes()

int amrex::AmrMeshDataAdaptor::GetNumberOfMeshes ( unsigned int numMeshes)
override

◆ New()

static AmrMeshDataAdaptor* amrex::AmrMeshDataAdaptor::New ( )
static

◆ ReleaseData()

int amrex::AmrMeshDataAdaptor::ReleaseData ( )
override

◆ senseiTypeMacro()

amrex::AmrMeshDataAdaptor::senseiTypeMacro ( AmrMeshDataAdaptor  ,
sensei::DataAdaptor   
)

◆ SetDataSource()

int amrex::AmrMeshDataAdaptor::SetDataSource ( amrex::AmrMesh mesh,
const std::vector< amrex::Vector< amrex::MultiFab > * > &  states,
const std::vector< std::vector< std::string >> &  arrayNames 
)

◆ SetPinMesh()

void amrex::AmrMeshDataAdaptor::SetPinMesh ( int  val)

Member Data Documentation

◆ Internals

InternalsType* amrex::AmrMeshDataAdaptor::Internals
private

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