Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Types | Private Attributes | List of all members
panzer::DOF_BasisToBasis< EvalT, TRAITST > Class Template Reference

Interpolates DOF coefficients on one basis to points on another basis. This is used with nodal bases to map DOF coefficient values from one nodal basis to dof coefficients on another basis. More...

#include <Panzer_DOF_BasisToBasis_decl.hpp>

Inheritance diagram for panzer::DOF_BasisToBasis< EvalT, TRAITST >:
Inheritance graph
[legend]

Public Member Functions

 DOF_BasisToBasis (const std::string &fieldName, const PureBasis &sourceBasis, const PureBasis &targetBasis)
 Ctor. More...
 
void evaluateFields (typename TRAITST::EvalData workset)
 
- Public Member Functions inherited from panzer::EvaluatorWithBaseImpl< TRAITST >
void setDetailsIndex (const int di)
 An evaluator builder sets the details index. More...
 
- Public Member Functions inherited from panzer::DomainEvaluator
 DomainEvaluator (DomainType domain=ALL)
 Constructor. More...
 
virtual ~DomainEvaluator ()=default
 Default destructor. More...
 
void setDomain (const DomainType domain)
 Set the domain for the evaluator. More...
 
DomainType getDomain ()
 Get the domain for the evaluator. More...
 
virtual int cellStartIndex (const panzer::Workset &workset) const
 Returns the starting cell for the specified domain for a given workset. More...
 
virtual int cellEndIndex (const panzer::Workset &workset) const
 Returns the non-inclusive end cell for the specified domain for a given workset. More...
 

Private Types

typedef EvalT::ScalarT ScalarT
 

Private Attributes

PHX::MDField< const ScalarTdof_source_coeff
 Dependent field: DOF coefficient values at source basis. More...
 
PHX::MDField< ScalarTdof_target_coeff
 Evaluated field: DOF coefficient values at target basis. More...
 
Kokkos::DynRankView< double,
PHX::Device > 
basis
 Reference cell basis values at target points, replicated for each cell in workset. More...
 

Additional Inherited Members

- Public Types inherited from panzer::DomainEvaluator
enum  DomainType : int {
  OWNED =0, GHOST =1, REAL =2, VIRTUAL =3,
  ALL =4
}
 Domain types supported by worksets. More...
 
- Protected Attributes inherited from panzer::EvaluatorWithBaseImpl< TRAITST >
WorksetDetailsAccessor wda
 

Detailed Description

template<typename EvalT, typename TRAITST>
class panzer::DOF_BasisToBasis< EvalT, TRAITST >

Interpolates DOF coefficients on one basis to points on another basis. This is used with nodal bases to map DOF coefficient values from one nodal basis to dof coefficients on another basis.

Definition at line 60 of file Panzer_DOF_BasisToBasis_decl.hpp.

Member Typedef Documentation

template<typename EvalT , typename TRAITST >
typedef EvalT::ScalarT panzer::DOF_BasisToBasis< EvalT, TRAITST >::ScalarT
private

Definition at line 78 of file Panzer_DOF_BasisToBasis_decl.hpp.

Constructor & Destructor Documentation

template<typename EvalT , typename TRAITST >
panzer::DOF_BasisToBasis< EvalT, TRAITST >::DOF_BasisToBasis ( const std::string &  fieldName,
const PureBasis sourceBasis,
const PureBasis targetBasis 
)

Ctor.

Parameters
[in]fieldNameName of the field in the field manager (used for both source and target fields
[in]sourceBasisBasis that the source DOF coefficients are defined on
[in]targetBasisBasis that provides the target coordinate points for the field to be interpolated to

Definition at line 58 of file Panzer_DOF_BasisToBasis_impl.hpp.

Member Function Documentation

template<typename EvalT , typename TRAITST >
void panzer::DOF_BasisToBasis< EvalT, TRAITST >::evaluateFields ( typename TRAITST::EvalData  workset)

Definition at line 101 of file Panzer_DOF_BasisToBasis_impl.hpp.

Member Data Documentation

template<typename EvalT , typename TRAITST >
PHX::MDField<const ScalarT> panzer::DOF_BasisToBasis< EvalT, TRAITST >::dof_source_coeff
private

Dependent field: DOF coefficient values at source basis.

Definition at line 81 of file Panzer_DOF_BasisToBasis_decl.hpp.

template<typename EvalT , typename TRAITST >
PHX::MDField<ScalarT> panzer::DOF_BasisToBasis< EvalT, TRAITST >::dof_target_coeff
private

Evaluated field: DOF coefficient values at target basis.

Definition at line 84 of file Panzer_DOF_BasisToBasis_decl.hpp.

template<typename EvalT , typename TRAITST >
Kokkos::DynRankView<double,PHX::Device> panzer::DOF_BasisToBasis< EvalT, TRAITST >::basis
private

Reference cell basis values at target points, replicated for each cell in workset.

Definition at line 87 of file Panzer_DOF_BasisToBasis_decl.hpp.


The documentation for this class was generated from the following files: