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::NeumannResidual< EvalT, Traits > Class Template Reference

Evaluates a Neumann BC residual contribution. More...

#include <Panzer_Neumann_Residual_decl.hpp>

Inheritance diagram for panzer::NeumannResidual< EvalT, Traits >:
Inheritance graph
[legend]

Public Member Functions

 NeumannResidual (const Teuchos::ParameterList &p)
 
void postRegistrationSetup (typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)
 
void evaluateFields (typename Traits::EvalData d)
 
- Public Member Functions inherited from panzer::EvaluatorWithBaseImpl< Traits >
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

using ScalarT = typename EvalT::ScalarT
 

Private Attributes

PHX::MDField< ScalarTresidual
 
PHX::MDField< ScalarTnormal_dot_flux
 
PHX::MDField< const ScalarTflux
 
PHX::MDField< const ScalarTnormal
 
std::string basis_name
 
std::size_t basis_index
 
std::size_t num_ip
 
std::size_t num_dim
 

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< Traits >
WorksetDetailsAccessor wda
 

Detailed Description

template<typename EvalT, typename Traits>
class panzer::NeumannResidual< EvalT, Traits >

Evaluates a Neumann BC residual contribution.

computes the surface integral term resulting from integration by parts for a particular dof:

int(n (flux * phi) )

Definition at line 61 of file Panzer_Neumann_Residual_decl.hpp.

Member Typedef Documentation

template<typename EvalT , typename Traits >
using panzer::NeumannResidual< EvalT, Traits >::ScalarT = typename EvalT::ScalarT
private

Definition at line 82 of file Panzer_Neumann_Residual_decl.hpp.

Constructor & Destructor Documentation

template<typename EvalT , typename Traits >
panzer::NeumannResidual< EvalT, Traits >::NeumannResidual ( const Teuchos::ParameterList p)

Definition at line 59 of file Panzer_Neumann_Residual_impl.hpp.

Member Function Documentation

template<typename EvalT , typename Traits >
void panzer::NeumannResidual< EvalT, Traits >::postRegistrationSetup ( typename Traits::SetupData  d,
PHX::FieldManager< Traits > &  fm 
)

Definition at line 94 of file Panzer_Neumann_Residual_impl.hpp.

template<typename EvalT , typename Traits >
void panzer::NeumannResidual< EvalT, Traits >::evaluateFields ( typename Traits::EvalData  d)

Definition at line 111 of file Panzer_Neumann_Residual_impl.hpp.

Member Data Documentation

template<typename EvalT , typename Traits >
PHX::MDField<ScalarT> panzer::NeumannResidual< EvalT, Traits >::residual
private

Definition at line 84 of file Panzer_Neumann_Residual_decl.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<ScalarT> panzer::NeumannResidual< EvalT, Traits >::normal_dot_flux
private

Definition at line 85 of file Panzer_Neumann_Residual_decl.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<const ScalarT> panzer::NeumannResidual< EvalT, Traits >::flux
private

Definition at line 86 of file Panzer_Neumann_Residual_decl.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<const ScalarT> panzer::NeumannResidual< EvalT, Traits >::normal
private

Definition at line 87 of file Panzer_Neumann_Residual_decl.hpp.

template<typename EvalT , typename Traits >
std::string panzer::NeumannResidual< EvalT, Traits >::basis_name
private

Definition at line 89 of file Panzer_Neumann_Residual_decl.hpp.

template<typename EvalT , typename Traits >
std::size_t panzer::NeumannResidual< EvalT, Traits >::basis_index
private

Definition at line 90 of file Panzer_Neumann_Residual_decl.hpp.

template<typename EvalT , typename Traits >
std::size_t panzer::NeumannResidual< EvalT, Traits >::num_ip
private

Definition at line 91 of file Panzer_Neumann_Residual_decl.hpp.

template<typename EvalT , typename Traits >
std::size_t panzer::NeumannResidual< EvalT, Traits >::num_dim
private

Definition at line 92 of file Panzer_Neumann_Residual_decl.hpp.


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