FreePOOMA  2.4.1
Classes | Functions
MeshFunctions.h File Reference

Mesh functions for querying mesh properties. More...

#include "Field/Mesh/NoMesh.h"
Include dependency graph for MeshFunctions.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  PositionsTraits< Mesh >
struct  NormalsTraits< Mesh >
struct  CellVolumesTraits< Mesh >
struct  FaceAreasTraits< Mesh >
struct  EdgeLengthsTraits< Mesh >

Functions

template<class Mesh , class T , class EngineTag >
PositionsTraits< Mesh >::Type_t positions (const Field< Mesh, T, EngineTag > &f)
 This function returns the centering point locations for a Field f.
template<class Mesh , class T , class EngineTag >
NormalsTraits< Mesh >::Type_t outwardNormals (const Field< Mesh, T, EngineTag > &f)
 This function returns outward-facing normals for a Field f.
template<class Mesh , class T , class EngineTag >
NormalsTraits< Mesh >::Type_t coordinateNormals (const Field< Mesh, T, EngineTag > &f)
 This function returns coordinate normals for a Field f.
template<class Mesh , class T , class EngineTag >
CellVolumesTraits< Mesh >::Type_t cellVolumes (const Field< Mesh, T, EngineTag > &f)
 This function returns the cell volumes for a Field f.
template<class Mesh , class T , class EngineTag >
FaceAreasTraits< Mesh >::Type_t faceAreas (const Field< Mesh, T, EngineTag > &f)
 This function returns the face areas for a Field f.
template<class Mesh , class T , class EngineTag >
EdgeLengthsTraits< Mesh >::Type_t edgeLengths (const Field< Mesh, T, EngineTag > &f)
 This function returns the edge lengths for a Field f.

Detailed Description

Mesh functions for querying mesh properties.

Functions:


Function Documentation

template<class Mesh , class T , class EngineTag >
PositionsTraits<Mesh>::Type_t positions ( const Field< Mesh, T, EngineTag > &  f)

This function returns the centering point locations for a Field f.

These are returned in a field with no mesh, but the same centering as the original Field.

References Field< Mesh, T, EngineTag >::centering(), Field< Mesh, T, EngineTag >::layout(), Field< Mesh, T, EngineTag >::mesh(), and Field< Mesh, T, EngineTag >::numMaterials().

template<class Mesh , class T , class EngineTag >
NormalsTraits<Mesh>::Type_t outwardNormals ( const Field< Mesh, T, EngineTag > &  f)

This function returns outward-facing normals for a Field f.

These are returned in a discontinuous face-centered field with no mesh.

References Discontinuous, FaceType, Field< Mesh, T, EngineTag >::layout(), Field< Mesh, T, EngineTag >::mesh(), and Field< Mesh, T, EngineTag >::numMaterials().

template<class Mesh , class T , class EngineTag >
NormalsTraits<Mesh>::Type_t coordinateNormals ( const Field< Mesh, T, EngineTag > &  f)

This function returns coordinate normals for a Field f.

These are returned in a continuous face-centered field with no mesh.

References Continuous, FaceType, Field< Mesh, T, EngineTag >::layout(), Field< Mesh, T, EngineTag >::mesh(), and Field< Mesh, T, EngineTag >::numMaterials().

template<class Mesh , class T , class EngineTag >
CellVolumesTraits<Mesh>::Type_t cellVolumes ( const Field< Mesh, T, EngineTag > &  f)

This function returns the cell volumes for a Field f.

These are returned in a cell-centered field with no mesh.

References CellType, Continuous, Field< Mesh, T, EngineTag >::layout(), Field< Mesh, T, EngineTag >::mesh(), and Field< Mesh, T, EngineTag >::numMaterials().

template<class Mesh , class T , class EngineTag >
FaceAreasTraits<Mesh>::Type_t faceAreas ( const Field< Mesh, T, EngineTag > &  f)

This function returns the face areas for a Field f.

These are returned in a continuous face-centered field with no mesh.

References Continuous, FaceType, Field< Mesh, T, EngineTag >::layout(), Field< Mesh, T, EngineTag >::mesh(), and Field< Mesh, T, EngineTag >::numMaterials().

template<class Mesh , class T , class EngineTag >
EdgeLengthsTraits<Mesh>::Type_t edgeLengths ( const Field< Mesh, T, EngineTag > &  f)

This function returns the edge lengths for a Field f.

These are returned in a continuous edge-centered field with no mesh.

References Continuous, EdgeType, Field< Mesh, T, EngineTag >::layout(), Field< Mesh, T, EngineTag >::mesh(), and Field< Mesh, T, EngineTag >::numMaterials().