Interpolation for an indexed simplex set with fields at the vertices. More...
#include <ISS_Interpolate.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_Interpolate (const IssType &iss, const ads::Array< 1, Field, A2 > &fields) | |
Construct from the indexed simplex set and the fields. | |
ISS_Interpolate (const IssType &iss, const SizeType num_vertices, FieldVoidPointer fields) | |
Construct from pointers to the vertices and simplices. | |
ISS_Interpolate (const ISS_Interpolate &other) | |
Copy constructor. | |
~ISS_Interpolate () | |
The destructor has no effect on the simplex query are the vertex field data structures. | |
Mathematical Functions. | |
FieldParameterType | operator() (const Vertex &x) const |
Return the interpolated field for the point x . |
Interpolation for an 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 ISS_SimplexQuery for determining which which simplex to use in the interpolation and a reference to an ISS_VertexField for performing the linear interpolation.
typedef FieldContainer::parameter_type ISS_Interpolate< 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_Interpolate< 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_Interpolate< ISS, F >::ISS_Interpolate | ( | 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_Interpolate< ISS, F >::ISS_Interpolate | ( | const IssType & | iss, | |
const SizeType | num_vertices, | |||
FieldVoidPointer | fields | |||
) | [inline] |
Construct from pointers to the vertices and simplices.
iss | is the indexed simplex set. | |
num_vertices | is the number of vertices. | |
fields | is the array of fields defined at each vertex. |