#include <Traits.hpp>
Classes | |
struct | Jacobian |
struct | Residual |
Public Types | |
typedef double | RealType |
typedef Sacado::Fad::DFad< double > | FadType |
typedef Sacado::mpl::vector < Residual, Jacobian > | EvalTypes |
typedef Sacado::mpl::vector < RealType, MyVector< RealType > , MyTensor< RealType > > | ResidualDataTypes |
typedef Sacado::mpl::vector < FadType, MyVector< FadType > , MyTensor< FadType > > | JacobianDataTypes |
typedef boost::mpl::map < boost::mpl::pair< Residual, ResidualDataTypes > , boost::mpl::pair< Jacobian, JacobianDataTypes > >::type | EvalToDataMap |
typedef PHX::NewAllocator | Allocator |
typedef const MyWorkset & | EvalData |
typedef void * | PreEvalData |
typedef void * | PostEvalData |
typedef double | RealType |
typedef Sacado::Fad::DFad< double > | FadType |
typedef Sacado::mpl::vector < Residual, Jacobian > | EvalTypes |
typedef Sacado::mpl::vector < RealType > | ResidualDataTypes |
typedef Sacado::mpl::vector < FadType > | JacobianDataTypes |
typedef boost::mpl::map < boost::mpl::pair< Residual, ResidualDataTypes > , boost::mpl::pair< Jacobian, JacobianDataTypes > >::type | EvalToDataMap |
typedef PHX::NewAllocator | Allocator |
typedef const MyWorkset & | EvalData |
typedef void * | PreEvalData |
typedef void * | PostEvalData |
The user must define a number of objects in the traits class:
EvalTypes - an mpl::vector of user defined evaluation types. Each evaluation type must have a typedef member called ScalarT that provides the default scalar type. This is used to automate the building of evaluators for each evaluation type using the EvaluatorFactory.
EvalToDataMap - an mpl::map. The key is an evaluation type and the value is an mpl::vector of valid data types for that particular evaluation type.
Allocator type - type that defines the allocator class to use to allocate the memory for data storage.
EvalData - A user defined type to be passed in to the evaluateFields() call. Allows users to pass in arbitrary data on the cells.
PreEvalData - A user defined type to be passed in to the preEvaluate() call. Allows users to pass in arbitrary data on the cells.
EvalData - A user defined type to be passed in to the postEvaluate() call. Allows users to pass in arbitrary data on the cells.
typedef const MyWorkset& PHX::MyTraits::EvalData |
typedef const MyWorkset& PHX::MyTraits::EvalData |
typedef boost::mpl::map< boost::mpl::pair<Residual, ResidualDataTypes>, boost::mpl::pair<Jacobian, JacobianDataTypes> >::type PHX::MyTraits::EvalToDataMap |
typedef boost::mpl::map< boost::mpl::pair<Residual, ResidualDataTypes>, boost::mpl::pair<Jacobian, JacobianDataTypes> >::type PHX::MyTraits::EvalToDataMap |
typedef Sacado::mpl::vector<Residual, Jacobian> PHX::MyTraits::EvalTypes |
typedef Sacado::mpl::vector<Residual, Jacobian> PHX::MyTraits::EvalTypes |
typedef Sacado::Fad::DFad<double> PHX::MyTraits::FadType |
typedef Sacado::Fad::DFad<double> PHX::MyTraits::FadType |
typedef Sacado::mpl::vector<FadType> PHX::MyTraits::JacobianDataTypes |
typedef Sacado::mpl::vector< FadType, MyVector<FadType>, MyTensor<FadType> > PHX::MyTraits::JacobianDataTypes |
typedef void* PHX::MyTraits::PostEvalData |
typedef void* PHX::MyTraits::PostEvalData |
typedef void* PHX::MyTraits::PreEvalData |
typedef void* PHX::MyTraits::PreEvalData |
typedef double PHX::MyTraits::RealType |
typedef double PHX::MyTraits::RealType |
typedef Sacado::mpl::vector<RealType> PHX::MyTraits::ResidualDataTypes |
typedef Sacado::mpl::vector< RealType, MyVector<RealType>, MyTensor<RealType> > PHX::MyTraits::ResidualDataTypes |