Indexed simplex set with fields at the vertices. More...
#include <ISS_VertexField.h>
Public Types | |
typedef IssType::Number | Number |
The number type. | |
typedef IssType::Vertex | Vertex |
A vertex. | |
typedef F | Field |
The field type. | |
typedef ads::Array< 1, Field, false > | FieldContainer |
The field container. | |
typedef FieldContainer::parameter_type | FieldParameterType |
The constant parameter type. | |
typedef FieldContainer::void_pointer | FieldVoidPointer |
A void pointer for the field type. | |
Public Member Functions | |
Constructors etc. | |
template<bool A2> | |
ISS_VertexField (const IssType &iss, const ads::Array< 1, Field, A2 > &fields) | |
Construct from the indexed simplex set and the fields. | |
ISS_VertexField (const IssType &iss, const SizeType numVertices, FieldVoidPointer fields) | |
Construct from pointers to the vertices and simplices. | |
ISS_VertexField (const ISS_VertexField &other) | |
Copy constructor. | |
~ISS_VertexField () | |
Destructor has no effect on the indexed simplex set. | |
Mathematical Functions. | |
FieldParameterType | interpolate (int n, const Vertex &x) const |
Return the interpolated field for the n_th simplex and the point x . |
Indexed simplex set with fields at the vertices.
ISS | is the indexed simplex set. | |
F | is the field type. By default it is the number type of the mesh. |
This class stores a reference to an indexed simplex set and a reference to an array of fields.
typedef FieldContainer::parameter_type ISS_VertexField< ISS, F >::FieldParameterType |
The constant parameter type.
This is used for passing the value type as an argument or returning the value type.
typedef FieldContainer::void_pointer ISS_VertexField< ISS, F >::FieldVoidPointer |
A void pointer for the field type.
If the field type has a top level const qualifier, this is const void*
. Otherwise it is void*
.
ISS_VertexField< ISS, F >::ISS_VertexField | ( | const IssType & | iss, | |
const ads::Array< 1, Field, A2 > & | fields | |||
) | [inline] |
Construct from the indexed simplex set and the fields.
iss | is the indexed simplex set. | |
fields | is the array of fields. |
ISS_VertexField< ISS, F >::ISS_VertexField | ( | const IssType & | iss, | |
const SizeType | numVertices, | |||
FieldVoidPointer | fields | |||
) | [inline] |
Construct from pointers to the vertices and simplices.
iss | is the indexed simplex set. | |
numVertices | is the number of vertices. | |
fields | is the array of fields defined at each vertex. |