|
typedef Object | Base |
|
enum | InitializedFlags { Initialized
} |
|
enum | Type {
COORD = -9
, COORDWRADIUS = -8
, DATABASE = -7
, UNKNOWN = -1
,
EMPTY = 1
, PLACEHOLDER = 11
, TEXTURE1D = 16
, POINTS = 18
,
SPHERES = 19
, LINES = 20
, TUBES = 21
, TRIANGLES = 22
,
POLYGONS = 23
, UNSTRUCTUREDGRID = 24
, UNIFORMGRID = 25
, RECTILINEARGRID = 26
,
STRUCTUREDGRID = 27
, QUADS = 28
, VERTEXOWNERLIST = 95
, CELLTREE1 = 96
,
CELLTREE2 = 97
, CELLTREE3 = 98
, NORMALS = 99
, VEC = 100
} |
|
typedef std::shared_ptr< Object > | ptr |
|
typedef std::shared_ptr< const Object > | const_ptr |
|
typedef ObjectData | Data |
|
enum | GhostLayerPosition { Bottom
, Top
} |
|
typedef StructuredGridBase | Class |
|
typedef std::shared_ptr< Class > | ptr |
|
typedef std::shared_ptr< const Class > | const_ptr |
|
enum | FindCellFlags { NoFlags = 0
, AcceptGhost = 1
, ForceCelltree = 2
, NoCelltree = 4
} |
|
|
| RectilinearGrid (const Index numDivX, const Index numDivY, const Index numDivZ, const Meta &meta=Meta()) |
|
std::set< Object::const_ptr > | referencedObjects () const override |
| check whether all references have been resolved More...
|
|
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 |
|
shm< Scalar >::array & | coords (int c) |
|
const Scalar * | coords (int c) const |
|
Index | getNumVertices () 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 |
|
Scalar | exitDistance (Index elem, const Vector &point, const Vector &dir) const override |
|
Vector | getVertex (Index v) const override |
|
void | copyAttributes (Object::const_ptr src, bool replace=true) override |
|
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 void | updateInternals () |
|
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 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]) |
|
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 |
|