Viskores  1.0
Namespaces | Functions
CellDerivative.h File Reference
#include <viskores/CellShape.h>
#include <viskores/ErrorCode.h>
#include <viskores/VecAxisAlignedPointCoordinates.h>
#include <viskores/VecTraits.h>
#include <viskores/exec/CellInterpolate.h>
#include <viskores/exec/FunctorBase.h>
#include <lcl/lcl.h>

Go to the source code of this file.

Namespaces

 viskores
 Groups connected points that have the same field value.
 
 viskores::exec
 Viskores Execution Environment.
 

Functions

template<typename FieldVecType , typename WorldCoordType , typename ParametricCoordType , typename CellShapeTag >
viskores::ErrorCode viskores::exec::CellDerivative (const FieldVecType &field, const WorldCoordType &wCoords, const viskores::Vec< ParametricCoordType, 3 > &pcoords, CellShapeTag shape, viskores::Vec< typename FieldVecType::ComponentType, 3 > &result)
 
template<typename FieldVecType , typename WorldCoordType , typename ParametricCoordType >
viskores::ErrorCode viskores::exec::CellDerivative (const FieldVecType &, const WorldCoordType &, const viskores::Vec< ParametricCoordType, 3 > &, viskores::CellShapeTagEmpty, viskores::Vec< typename FieldVecType::ComponentType, 3 > &result)
 
template<typename FieldVecType , typename WorldCoordType , typename ParametricCoordType >
viskores::ErrorCode viskores::exec::CellDerivative (const FieldVecType &field, const WorldCoordType &wCoords, const viskores::Vec< ParametricCoordType, 3 > &pcoords, viskores::CellShapeTagPolyLine, viskores::Vec< typename FieldVecType::ComponentType, 3 > &result)
 
template<typename FieldVecType , typename WorldCoordType , typename ParametricCoordType >
viskores::ErrorCode viskores::exec::CellDerivative (const FieldVecType &field, const WorldCoordType &wCoords, const viskores::Vec< ParametricCoordType, 3 > &pcoords, viskores::CellShapeTagPolygon, viskores::Vec< typename FieldVecType::ComponentType, 3 > &result)
 
template<typename FieldVecType , typename ParametricCoordType >
viskores::ErrorCode viskores::exec::CellDerivative (const FieldVecType &field, const viskores::VecAxisAlignedPointCoordinates< 2 > &wCoords, const viskores::Vec< ParametricCoordType, 3 > &pcoords, viskores::CellShapeTagQuad, viskores::Vec< typename FieldVecType::ComponentType, 3 > &result)
 
template<typename FieldVecType , typename ParametricCoordType >
viskores::ErrorCode viskores::exec::CellDerivative (const FieldVecType &field, const viskores::VecAxisAlignedPointCoordinates< 3 > &wCoords, const viskores::Vec< ParametricCoordType, 3 > &pcoords, viskores::CellShapeTagHexahedron, viskores::Vec< typename FieldVecType::ComponentType, 3 > &result)
 
template<typename FieldVecType , typename WorldCoordType , typename ParametricCoordType >
viskores::ErrorCode viskores::exec::CellDerivative (const FieldVecType &pointFieldValues, const WorldCoordType &worldCoordinateValues, const viskores::Vec< ParametricCoordType, 3 > &parametricCoords, viskores::CellShapeTagGeneric shape, viskores::Vec< typename FieldVecType::ComponentType, 3 > &result)
 Take the derivative (get the gradient) of a point field in a cell. More...