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

#include <AMReX_AmrDataAdaptor.H>

Inheritance diagram for amrex::AmrDataAdaptor:

Classes

struct  InternalsType
 

Public Member Functions

 senseiTypeMacro (AmrDataAdaptor, sensei::DataAdaptor)
 
int SetDataSource (amrex::Amr *amr)
 
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 AmrDataAdaptorNew ()
 

Protected Member Functions

 AmrDataAdaptor ()
 
 ~AmrDataAdaptor ()
 

Private Attributes

InternalsTypeInternals
 

Constructor & Destructor Documentation

◆ AmrDataAdaptor()

amrex::AmrDataAdaptor::AmrDataAdaptor ( )
protected

◆ ~AmrDataAdaptor()

amrex::AmrDataAdaptor::~AmrDataAdaptor ( )
protected

Member Function Documentation

◆ AddArray()

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

◆ AddGhostCellsArray()

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

◆ AddGhostNodesArray()

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

◆ GetArrayName()

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

◆ GetMesh()

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

◆ GetMeshHasGhostCells()

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

◆ GetMeshHasGhostNodes()

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

◆ GetMeshName()

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

◆ GetNumberOfArrays()

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

◆ GetNumberOfMeshes()

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

◆ New()

static AmrDataAdaptor* amrex::AmrDataAdaptor::New ( )
static

◆ ReleaseData()

int amrex::AmrDataAdaptor::ReleaseData ( )
override

◆ senseiTypeMacro()

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

◆ SetDataSource()

int amrex::AmrDataAdaptor::SetDataSource ( amrex::Amr amr)

◆ SetPinMesh()

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

Member Data Documentation

◆ Internals

InternalsType* amrex::AmrDataAdaptor::Internals
private

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