1 #ifndef AMReX_AmrDataAdaptor_h
2 #define AMReX_AmrDataAdaptor_h
3 #include <AMReX_Config.H>
5 #include "DataAdaptor.h"
24 #if SENSEI_VERSION_MAJOR >= 3
25 int GetMeshMetadata(
unsigned int id, sensei::MeshMetadataPtr &metadata)
override;
27 int GetMeshName(
unsigned int id, std::string &meshName)
override;
30 int GetNumberOfArrays(
const std::string &meshName,
int association,
unsigned int &numberOfArrays)
override;
31 int GetArrayName(
const std::string &meshName,
int association,
unsigned int index, std::string &arrayName)
override;
33 int GetMesh(
const std::string &meshName,
bool structureOnly, svtkDataObject *&mesh)
override;
36 int AddArray(svtkDataObject* mesh,
const std::string &meshName,
int association,
const std::string &arrayName)
override;
Definition: AMReX_AmrDataAdaptor.H:11
int GetMesh(const std::string &meshName, bool structureOnly, svtkDataObject *&mesh) override
Definition: AMReX_AmrDataAdaptor.cpp:605
int AddGhostNodesArray(svtkDataObject *mesh, const std::string &meshName) override
Definition: AMReX_AmrDataAdaptor.cpp:819
int AddGhostCellsArray(svtkDataObject *mesh, const std::string &meshName) override
Definition: AMReX_AmrDataAdaptor.cpp:725
int GetMeshHasGhostNodes(const std::string &meshName, int &nLayers) override
Definition: AMReX_AmrDataAdaptor.cpp:511
int AddArray(svtkDataObject *mesh, const std::string &meshName, int association, const std::string &arrayName) override
Definition: AMReX_AmrDataAdaptor.cpp:837
AmrDataAdaptor()
Definition: AMReX_AmrDataAdaptor.cpp:168
static AmrDataAdaptor * New()
int GetMeshHasGhostCells(const std::string &meshName, int &nLayers) override
Definition: AMReX_AmrDataAdaptor.cpp:525
int GetNumberOfMeshes(unsigned int &numMeshes) override
Definition: AMReX_AmrDataAdaptor.cpp:204
int GetMeshName(unsigned int id, std::string &meshName) override
InternalsType * Internals
Definition: AMReX_AmrDataAdaptor.H:44
int ReleaseData() override
Definition: AMReX_AmrDataAdaptor.cpp:1006
senseiTypeMacro(AmrDataAdaptor, sensei::DataAdaptor)
~AmrDataAdaptor()
Definition: AMReX_AmrDataAdaptor.cpp:174
int GetArrayName(const std::string &meshName, int association, unsigned int index, std::string &arrayName) override
Definition: AMReX_AmrDataAdaptor.cpp:579
int SetDataSource(amrex::Amr *amr)
Definition: AMReX_AmrDataAdaptor.cpp:180
int GetNumberOfArrays(const std::string &meshName, int association, unsigned int &numberOfArrays) override
Definition: AMReX_AmrDataAdaptor.cpp:547
void SetPinMesh(int val)
Definition: AMReX_AmrDataAdaptor.cpp:198
Manage hierarchy of levels for time-dependent AMR computations.
Definition: AMReX_Amr.H:35
Definition: AMReX_Amr.cpp:49
Definition: AMReX_AmrDataAdaptor.cpp:152