ISS_Interpolate< ISS, F > Class Template Reference

Interpolation for an indexed simplex set with fields at the vertices. More...

#include <ISS_Interpolate.h>

List of all members.

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.

Detailed Description

template<class ISS, typename F = typename ISS::Number>
class ISS_Interpolate< ISS, F >

Interpolation for an indexed simplex set with fields at the vertices.

Parameters:
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.


Member Typedef Documentation

template<class ISS , typename F = typename ISS::Number>
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.

template<class ISS , typename F = typename ISS::Number>
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*.


Constructor & Destructor Documentation

template<class ISS , typename F = typename ISS::Number>
template<bool A2>
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.

Parameters:
iss is the indexed simplex set.
fields is the array of fields.
template<class ISS , typename F = typename ISS::Number>
ISS_Interpolate< ISS, F >::ISS_Interpolate ( const IssType &  iss,
const SizeType  num_vertices,
FieldVoidPointer  fields 
) [inline]

Construct from pointers to the vertices and simplices.

Parameters:
iss is the indexed simplex set.
num_vertices is the number of vertices.
fields is the array of fields defined at each vertex.

The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:14:58 2016 for Computational Geometry Package by  doxygen 1.6.3