|
| StructuredGrid (const Index numVert_x, const Index numVert_y, const Index numVert_z, const Meta &meta=Meta()) |
|
Index | getNumDivisions (int c) override |
|
Index | getNumDivisions (int c) const override |
|
Index | getNumGhostLayers (unsigned dim, GhostLayerPosition pos) override |
|
Index | getNumGhostLayers (unsigned dim, GhostLayerPosition pos) const override |
|
Index | getGlobalIndexOffset (int c) const override |
|
void | setGlobalIndexOffset (int c, Index offset) override |
|
void | setNumGhostLayers (unsigned dim, GhostLayerPosition pos, unsigned value) override |
|
Index | getNumVertices () const override |
|
std::pair< Vector, Vector > | getBounds () const override |
|
Normals::const_ptr | normals () const override |
|
void | setNormals (Normals::const_ptr normals) |
|
std::pair< Vector, Vector > | cellBounds (Index elem) const override |
|
Index | findCell (const Vector &point, Index hint=InvalidIndex, int flags=NoFlags) const override |
|
bool | inside (Index elem, const Vector &point) const override |
|
Interpolator | getInterpolator (Index elem, const Vector &point, DataBase::Mapping mapping=DataBase::Vertex, InterpolationMode mode=Linear) const override |
|
bool | hasCelltree () const override |
|
Celltree::const_ptr | getCelltree () const override |
|
bool | validateCelltree () const override |
|
Scalar | exitDistance (Index elem, const Vector &point, const Vector &dir) const override |
|
void | copyAttributes (Object::const_ptr src, bool replace=true) override |
|
| Coords (const Index numVertices, const Meta &meta=Meta()) |
|
void | resetCoords () |
|
std::set< Object::const_ptr > | referencedObjects () const override |
| check whether all references have been resolved More...
|
|
Index | getNumCoords () |
|
Index | getNumCoords () const |
|
Index | getNumVertices () override |
|
void | setNormals (Normals::const_ptr normals) |
|
Vector3 | getVertex (Index v) const override |
|
| V_DATA_BEGIN (Coords) |
|
| Data (const Index numVertices=0, Type id=UNKNOWN, const std::string &name="", const Meta &meta=Meta()) |
|
| Data (const Vec< Scalar, 3 >::Data &o, const std::string &n, Type id) |
|
| ~Data () |
|
| V_DATA_END (Coords) |
|
| Vec (const Index size, const Meta &meta=Meta()) |
|
Index | getSize () override |
|
Index | getSize () const override |
|
int | dimension () const override |
|
bool | copyEntry (Index to, DataBase::const_ptr src, Index from) override |
|
void | setValue (Index idx, int component, const double &value) override |
|
double | value (Index idx, int c=0) const override |
|
void | resetArrays () override |
|
void | setSize (const Index size) override |
|
void | applyDimensionHint (Object::const_ptr grid) override |
|
void | setExact (bool exact) override |
|
array & | x (int c=0) |
|
const Scalar * | x (int c=0) const |
|
array & | y () |
|
const Scalar * | y () const |
|
array & | z () |
|
const Scalar * | z () const |
|
array & | w () |
|
const Scalar * | w () const |
|
void | updateInternals () override |
|
std::pair< Vector, Vector > | getMinMax () const |
|
| DEFINE_ENUM_WITH_STRING_CONVERSIONS (Mapping,(Unspecified)(Vertex)(Element)) |
|
std::set< Object::const_ptr > | referencedObjects () const override |
| check whether all references have been resolved More...
|
|
Object::const_ptr | grid () const |
|
void | setGrid (Object::const_ptr grid) |
|
Mapping | guessMapping (Object::const_ptr grid=Object::const_ptr()) const |
|
Mapping | mapping () const |
|
void | setMapping (Mapping m) |
|
template<class Interface > |
const Interface * | getInterface () const |
|
std::shared_ptr< const Object > | object () const override |
|
virtual | ~Object () |
|
bool | operator== (const Object &other) const |
|
bool | operator!= (const Object &other) const |
|
bool | isComplete () const |
|
Object::ptr | clone () const |
|
virtual Object::ptr | cloneInternal () const =0 |
|
Object::ptr | cloneType () const |
|
virtual Object::ptr | cloneTypeInternal () const =0 |
|
virtual void | refresh () const |
| refresh cached pointers from shm More...
|
|
virtual bool | check () const |
|
virtual bool | isEmpty () const |
|
virtual bool | isEmpty () |
|
shm_handle_t | getHandle () const |
|
Type | getType () const |
|
std::string | getName () const |
|
int | getBlock () const |
|
int | getNumBlocks () const |
|
double | getRealTime () const |
|
int | getTimestep () const |
|
int | getNumTimesteps () const |
|
int | getIteration () const |
|
int | getExecutionCounter () const |
|
int | getCreator () const |
|
Matrix4 | getTransform () const |
|
void | setBlock (const int block) |
|
void | setNumBlocks (const int num) |
|
void | setRealTime (double time) |
|
void | setTimestep (const int timestep) |
|
void | setNumTimesteps (const int num) |
|
void | setIteration (const int num) |
|
void | setExecutionCounter (const int count) |
|
void | setCreator (const int id) |
|
void | setTransform (const Matrix4 &transform) |
|
const Meta & | meta () const |
|
void | setMeta (const Meta &meta) |
|
void | addAttribute (const std::string &key, const std::string &value="") |
|
void | setAttributeList (const std::string &key, const std::vector< std::string > &values) |
|
bool | hasAttribute (const std::string &key) const |
|
std::string | getAttribute (const std::string &key) const |
|
std::vector< std::string > | getAttributes (const std::string &key) const |
|
std::vector< std::string > | getAttributeList () const |
|
bool | addAttachment (const std::string &key, Object::const_ptr att) const |
|
bool | hasAttachment (const std::string &key) const |
|
void | copyAttachments (Object::const_ptr src, bool replace=true) |
|
Object::const_ptr | getAttachment (const std::string &key) const |
|
bool | removeAttachment (const std::string &key) const |
|
int | ref () const |
|
int | unref () const |
|
int | refcount () const |
|
template<class Archive > |
void | saveObject (Archive &ar) const |
|
Data * | d () const |
|
virtual bool | isGhostCell (Index elem) const override |
|
virtual Index | getNumElements () override |
|
virtual Index | getNumElements () const override |
|
virtual Scalar | cellDiameter (Index elem) const override |
|
virtual Vector | cellCenter (Index elem) const override |
|
virtual std::vector< Index > | getNeighborElements (Index elem) const override |
|
Index | cellNumFaces (Index elem) const override |
|
std::vector< Index > | cellVertices (Index elem) const override |
|
| DEFINE_ENUM_WITH_STRING_CONVERSIONS (InterpolationMode,(First)(Mean)(Nearest)(Linear)) |
|
Interpolator | getInterpolator (const Vector &point, DataBase::Mapping mapping=DataBase::Vertex, InterpolationMode mode=Linear) const |
|
|
static Data * | create (const std::string &name="", Type id=UNKNOWN, const Index numVertices=0, const Meta &meta=Meta()) |
|
static const char * | toString (Type v) |
|
static const char * | typeName () |
|
static Object * | createEmpty (const std::string &name=std::string()) |
|
static std::shared_ptr< Object > | as (std::shared_ptr< Object > ptr) |
|
static std::shared_ptr< const Object > | as (std::shared_ptr< const Object > ptr) |
|
template<class Archive > |
static Object * | loadObject (Archive &ar) |
|
static std::shared_ptr< const Class > | as (std::shared_ptr< const Object > ptr) |
|
static std::shared_ptr< Class > | as (std::shared_ptr< Object > ptr) |
|
static int | dimensionality (const Index dims[3]) |
|
static Index | vertexIndex (const Index ix, const Index iy, const Index iz, const Index dims[3]) |
|
static Index | vertexIndex (const Index i[3], const Index dims[3]) |
|
static std::array< Index, 3 > | vertexCoordinates (Index v, const Index dims[3]) |
|
static Index | cellIndex (const Index ix, const Index iy, const Index iz, const Index dims[3]) |
|
static Index | cellIndex (const Index i[3], const Index dims[3]) |
|
static std::array< Index, 3 > | cellCoordinates (Index el, const Index dims[3]) |
|
static std::array< Index, 8 > | cellVertices (Index el, const Index dims[3]) |
|
shm_obj_ref< Normals > | normals |
|
static constexpr std::array< Index, 8 > | HexahedronIndices [3] |
|
| Object (Data *data) |
|
| Object () |
|
virtual | ~ObjectInterfaceBase () |
|
static void | publish (const Data *d) |
|
static Object * | create (Data *) |
|
Data * | m_data |
|