ISS_VertexField< ISS, F > Class Template Reference

Indexed simplex set with fields at the vertices. More...

#include <ISS_VertexField.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_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.

Detailed Description

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

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 indexed simplex set and a reference to an array of fields.


Member Typedef Documentation

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

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


Constructor & Destructor Documentation

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

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

Construct from pointers to the vertices and simplices.

Parameters:
iss is the indexed simplex set.
numVertices 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