SCIRun
5.0
|
#include <GenericField.h>
Public Types | |
typedef GenericField< Mesh, Basis, FData > | field_type |
Typedefs to support the Field concept. More... | |
typedef FData::value_type | value_type |
typedef Mesh | mesh_type |
typedef boost::shared_ptr < mesh_type > | mesh_handle_type |
typedef Basis | basis_type |
typedef FData | fdata_type |
typedef boost::shared_ptr < GenericField< Mesh, Basis, FData > > | handle_type |
typedef SCIRun::index_type | index_type |
typedef SCIRun::size_type | size_type |
![]() | |
enum | td_info_e { FULL_TD_E, FIELD_NAME_ONLY_E, MESH_TD_E, BASIS_TD_E, FDATA_TD_E } |
Type Description to retrieve information on the actual type of the field. More... | |
![]() | |
typedef HasIntegerId::id_type | id_type |
![]() | |
typedef IdType | id_type |
Public Member Functions | |
GenericField () | |
only Pio should use this constructor More... | |
GenericField (mesh_handle_type mesh) | |
Use this constructor to actually have a field with a mesh. More... | |
GenericField (const GenericField ©) | |
virtual | ~GenericField () |
virtual GenericField< Mesh, Basis, FData > * | clone () const |
virtual GenericField< Mesh, Basis, FData > * | deep_clone () const |
Clone everything, field data and mesh. More... | |
virtual MeshHandle | mesh () const |
Obtain a Handle to the Mesh. More... | |
virtual VMesh * | vmesh () const |
virtual VField * | vfield () const |
virtual int | basis_order () const |
Basis & | get_basis () |
virtual void | io (Piostream &stream) |
Get the mesh describing how the elements fit together. More... | |
virtual std::string | dynamic_type_name () const |
virtual const TypeDescription * | get_type_description (td_info_e td=FULL_TD_E) const |
![]() | |
Field () | |
Field (const Field ©) | |
virtual | ~Field () |
virtual std::string | type_name () const |
![]() | |
Datatype () | |
virtual | ~Datatype () |
Datatype (const Datatype &other) | |
Datatype & | operator= (const Datatype &rhs) |
template<typename T > | |
const T * | as () const |
![]() | |
virtual | ~Persistent () |
![]() | |
HasId () | |
IdType | id () const |
![]() | |
PropertyManager & | properties () |
const PropertyManager & | properties () const |
Static Public Member Functions | |
static const std::string | type_name (int n=-1) |
Function to retrieve the name of this field class. More... | |
static Persistent * | maker () |
Static functions to instantiate the field from Pio or using CreateField() More... | |
static FieldHandle | field_maker () |
static FieldHandle | field_maker_mesh (MeshHandle mesh) |
![]() | |
static PersistentTypeIDPtr | find_derived (const std::string &classname, const std::string &basename) |
static bool | is_base_of (const std::string &parent, const std::string &type) |
static void | add_class (const std::string &type, const std::string &parent, Persistent *(*maker)(), Persistent *(*bc_maker1)()=0, Persistent *(*bc_maker2)()=0) |
static void | add_mesh_class (const std::string &type, Persistent *(*maker)(), Persistent *(*bc_maker1)()=0, Persistent *(*bc_maker2)()=0) |
static void | add_field_class (const std::string &type, Persistent *(*maker)(), Persistent *(*bc_maker1)()=0, Persistent *(*bc_maker2)()=0) |
Static Public Attributes | |
static PersistentTypeID | type_id |
Tag the constructor of this class and put it in the Pio DataBase. More... | |
static FieldTypeID | field_id |
Tag the constructor of this class and put it in the Field DataBase. More... | |
![]() | |
static PersistentTypeID | type_id |
Persistent I/O. More... | |
Protected Attributes | |
mesh_handle_type | mesh_ |
A (generic) mesh. More... | |
fdata_type | fdata_ |
Data container. More... | |
Basis | basis_ |
VField * | vfield_ |
int | basis_order_ |
int | mesh_dimensionality_ |
typedef Basis basis_type |
typedef FData fdata_type |
typedef GenericField<Mesh, Basis, FData> field_type |
Typedefs to support the Field concept.
typedef boost::shared_ptr<GenericField<Mesh, Basis, FData> > handle_type |
typedef SCIRun::index_type index_type |
typedef boost::shared_ptr<mesh_type> mesh_handle_type |
typedef SCIRun::size_type size_type |
typedef FData::value_type value_type |
GenericField | ( | ) |
only Pio should use this constructor
GenericField | ( | mesh_handle_type | mesh | ) |
Use this constructor to actually have a field with a mesh.
GenericField | ( | const GenericField< Mesh, Basis, FData > & | copy | ) |
|
virtual |
|
inlinevirtual |
Get the order of the field data -1 = no data 0 = constant data per element 1 = linear data per element >1 = non linear data per element
Implements Field.
|
virtual |
Clone the field data, but not the mesh. Use mesh_detach() first to clone the complete field
Implements Field.
|
virtual |
Clone everything, field data and mesh.
Implements Field.
|
inlinevirtual |
|
static |
|
static |
|
inline |
Get the classes on which this function relies: Get the basis describing interpolation within an element
|
virtual |
A different way of tagging a class. Currently two systems are used next to each other: type_name and get_type_description. Neither is perfect
Implements Field.
|
virtual |
|
static |
Static functions to instantiate the field from Pio or using CreateField()
|
virtual |
|
static |
Function to retrieve the name of this field class.
|
protected |
|
protected |
|
protected |
Data container.
|
static |
Tag the constructor of this class and put it in the Field DataBase.
|
protected |
A (generic) mesh.
|
protected |
|
static |
Tag the constructor of this class and put it in the Pio DataBase.
|
protected |