Neumann boundary condition evaluator. More...
#include <PHAL_Neumann.hpp>
Public Types | |
enum | NEU_TYPE { COORD, NORMAL, INTJUMP, PRESS, ROBIN, BASAL, TRACTION, LATERAL } |
enum | SIDE_TYPE { OTHER, LINE, TRI, QUAD } |
typedef EvalT::ScalarT | ScalarT |
typedef EvalT::MeshScalarT | MeshScalarT |
Public Member Functions | |
NeumannBase (const Teuchos::ParameterList &p) | |
void | postRegistrationSetup (typename Traits::SetupData d, PHX::FieldManager< Traits > &vm) |
void | evaluateFields (typename Traits::EvalData d)=0 |
ScalarT & | getValue (const std::string &n) |
Protected Types | |
enum | BETAXY_NAME { CONSTANT, EXPTRIG, ISMIP_HOM_TEST_C, ISMIP_HOM_TEST_D, CONFINEDSHELF, CIRCULARSHELF, DOMEUQ, SCALAR_FIELD, LATERAL_BACKPRESSURE } |
Protected Member Functions | |
void | calc_dudn_const (Intrepid::FieldContainer< ScalarT > &qp_data_returned, const Intrepid::FieldContainer< MeshScalarT > &phys_side_cub_points, const Intrepid::FieldContainer< MeshScalarT > &jacobian_side_refcell, const shards::CellTopology &celltopo, const int cellDims, int local_side_id, ScalarT scale=1.0) |
void | calc_dudn_robin (Intrepid::FieldContainer< ScalarT > &qp_data_returned, const Intrepid::FieldContainer< MeshScalarT > &phys_side_cub_points, const Intrepid::FieldContainer< ScalarT > &dof_side, const Intrepid::FieldContainer< MeshScalarT > &jacobian_side_refcell, const shards::CellTopology &celltopo, const int cellDims, int local_side_id, ScalarT scale, const ScalarT *robin_param_values) |
void | calc_gradu_dotn_const (Intrepid::FieldContainer< ScalarT > &qp_data_returned, const Intrepid::FieldContainer< MeshScalarT > &phys_side_cub_points, const Intrepid::FieldContainer< MeshScalarT > &jacobian_side_refcell, const shards::CellTopology &celltopo, const int cellDims, int local_side_id) |
void | calc_traction_components (Intrepid::FieldContainer< ScalarT > &qp_data_returned, const Intrepid::FieldContainer< MeshScalarT > &phys_side_cub_points, const Intrepid::FieldContainer< MeshScalarT > &jacobian_side_refcell, const shards::CellTopology &celltopo, const int cellDims, int local_side_id) |
void | calc_press (Intrepid::FieldContainer< ScalarT > &qp_data_returned, const Intrepid::FieldContainer< MeshScalarT > &phys_side_cub_points, const Intrepid::FieldContainer< MeshScalarT > &jacobian_side_refcell, const shards::CellTopology &celltopo, const int cellDims, int local_side_id) |
void | evaluateNeumannContribution (typename Traits::EvalData d) |
Protected Attributes | |
const Teuchos::RCP < Albany::Layouts > & | dl |
const Teuchos::RCP < Albany::MeshSpecsStruct > & | meshSpecs |
int | cellDims |
int | sideDims |
int | numQPs |
int | numQPsSide |
int | numNodes |
Teuchos::Array< int > | offset |
int | numDOFsSet |
std::string | betaName |
double | L |
MeshScalarT | betaXY |
BETAXY_NAME | beta_type |
PHX::MDField< MeshScalarT, Cell, Vertex, Dim > | coordVec |
Coordinate vector at vertices. | |
PHX::MDField< ScalarT, Cell, Node > | dof |
PHX::MDField< ScalarT, Cell, Node, VecDim > | dofVec |
PHX::MDField< ScalarT, Cell, Node > | beta_field |
PHX::MDField< ScalarT, Cell, Node > | thickness_field |
PHX::MDField< RealType, Cell, Node > | elevation_field |
Teuchos::RCP < shards::CellTopology > | cellType |
Teuchos::RCP < shards::CellTopology > | sideType |
Teuchos::RCP < Intrepid::Cubature< RealType > > | cubatureCell |
Teuchos::RCP < Intrepid::Cubature< RealType > > | cubatureSide |
Teuchos::RCP< Intrepid::Basis < RealType, Intrepid::FieldContainer < RealType > > > | intrepidBasis |
Intrepid::FieldContainer < RealType > | cubPointsSide |
Intrepid::FieldContainer < RealType > | refPointsSide |
Intrepid::FieldContainer < RealType > | cubWeightsSide |
Intrepid::FieldContainer < MeshScalarT > | physPointsSide |
Intrepid::FieldContainer < MeshScalarT > | jacobianSide |
Intrepid::FieldContainer < MeshScalarT > | jacobianSide_det |
Intrepid::FieldContainer < MeshScalarT > | physPointsCell |
Intrepid::FieldContainer < MeshScalarT > | weighted_measure |
Intrepid::FieldContainer < RealType > | basis_refPointsSide |
Intrepid::FieldContainer < MeshScalarT > | trans_basis_refPointsSide |
Intrepid::FieldContainer < MeshScalarT > | weighted_trans_basis_refPointsSide |
Intrepid::FieldContainer< ScalarT > | dofCell |
Intrepid::FieldContainer< ScalarT > | dofSide |
Intrepid::FieldContainer< ScalarT > | dofCellVec |
Intrepid::FieldContainer< ScalarT > | dofSideVec |
Intrepid::FieldContainer< ScalarT > | data |
Intrepid::FieldContainer< ScalarT > | neumann |
std::string | sideSetID |
Teuchos::Array< RealType > | inputValues |
std::string | inputConditions |
std::string | name |
NEU_TYPE | bc_type |
SIDE_TYPE | side_type |
ScalarT | const_val |
ScalarT | robin_vals [5] |
std::vector< ScalarT > | dudx |
std::vector< ScalarT > | matScaling |
Neumann boundary condition evaluator.
Definition at line 33 of file PHAL_Neumann.hpp.
typedef EvalT::ScalarT PHAL::NeumannBase< EvalT, Traits >::ScalarT |
Reimplemented in PHAL::Neumann< PHAL::AlbanyTraits::Residual, Traits >, PHAL::Neumann< PHAL::AlbanyTraits::Jacobian, Traits >, and PHAL::Neumann< PHAL::AlbanyTraits::Tangent, Traits >.
Definition at line 43 of file PHAL_Neumann.hpp.
typedef EvalT::MeshScalarT PHAL::NeumannBase< EvalT, Traits >::MeshScalarT |
Definition at line 44 of file PHAL_Neumann.hpp.
enum PHAL::NeumannBase::NEU_TYPE |
Definition at line 40 of file PHAL_Neumann.hpp.
enum PHAL::NeumannBase::SIDE_TYPE |
Definition at line 41 of file PHAL_Neumann.hpp.
enum PHAL::NeumannBase::BETAXY_NAME [protected] |
CONSTANT | |
EXPTRIG | |
ISMIP_HOM_TEST_C | |
ISMIP_HOM_TEST_D | |
CONFINEDSHELF | |
CIRCULARSHELF | |
DOMEUQ | |
SCALAR_FIELD | |
LATERAL_BACKPRESSURE |
Definition at line 68 of file PHAL_Neumann.hpp.
PHAL::NeumannBase< EvalT, Traits >::NeumannBase | ( | const Teuchos::ParameterList & | p | ) |
Material database - holds the scaling we need
Definition at line 24 of file PHAL_Neumann_Def.hpp.
void PHAL::NeumannBase< EvalT, Traits >::postRegistrationSetup | ( | typename Traits::SetupData | d, | |
PHX::FieldManager< Traits > & | vm | |||
) |
Definition at line 320 of file PHAL_Neumann_Def.hpp.
void PHAL::NeumannBase< EvalT, Traits >::evaluateFields | ( | typename Traits::EvalData | d | ) | [pure virtual] |
NeumannBase< EvalT, Traits >::ScalarT & PHAL::NeumannBase< EvalT, Traits >::getValue | ( | const std::string & | n | ) |
Definition at line 578 of file PHAL_Neumann_Def.hpp.
void PHAL::NeumannBase< EvalT, Traits >::calc_dudn_const | ( | Intrepid::FieldContainer< ScalarT > & | qp_data_returned, | |
const Intrepid::FieldContainer< MeshScalarT > & | phys_side_cub_points, | |||
const Intrepid::FieldContainer< MeshScalarT > & | jacobian_side_refcell, | |||
const shards::CellTopology & | celltopo, | |||
const int | cellDims, | |||
int | local_side_id, | |||
ScalarT | scale = 1.0 | |||
) | [protected] |
Definition at line 688 of file PHAL_Neumann_Def.hpp.
void PHAL::NeumannBase< EvalT, Traits >::calc_dudn_robin | ( | Intrepid::FieldContainer< ScalarT > & | qp_data_returned, | |
const Intrepid::FieldContainer< MeshScalarT > & | phys_side_cub_points, | |||
const Intrepid::FieldContainer< ScalarT > & | dof_side, | |||
const Intrepid::FieldContainer< MeshScalarT > & | jacobian_side_refcell, | |||
const shards::CellTopology & | celltopo, | |||
const int | cellDims, | |||
int | local_side_id, | |||
ScalarT | scale, | |||
const ScalarT * | robin_param_values | |||
) | [protected] |
Definition at line 711 of file PHAL_Neumann_Def.hpp.
void PHAL::NeumannBase< EvalT, Traits >::calc_gradu_dotn_const | ( | Intrepid::FieldContainer< ScalarT > & | qp_data_returned, | |
const Intrepid::FieldContainer< MeshScalarT > & | phys_side_cub_points, | |||
const Intrepid::FieldContainer< MeshScalarT > & | jacobian_side_refcell, | |||
const shards::CellTopology & | celltopo, | |||
const int | cellDims, | |||
int | local_side_id | |||
) | [protected] |
Definition at line 640 of file PHAL_Neumann_Def.hpp.
void PHAL::NeumannBase< EvalT, Traits >::calc_traction_components | ( | Intrepid::FieldContainer< ScalarT > & | qp_data_returned, | |
const Intrepid::FieldContainer< MeshScalarT > & | phys_side_cub_points, | |||
const Intrepid::FieldContainer< MeshScalarT > & | jacobian_side_refcell, | |||
const shards::CellTopology & | celltopo, | |||
const int | cellDims, | |||
int | local_side_id | |||
) | [protected] |
Definition at line 607 of file PHAL_Neumann_Def.hpp.
void PHAL::NeumannBase< EvalT, Traits >::calc_press | ( | Intrepid::FieldContainer< ScalarT > & | qp_data_returned, | |
const Intrepid::FieldContainer< MeshScalarT > & | phys_side_cub_points, | |||
const Intrepid::FieldContainer< MeshScalarT > & | jacobian_side_refcell, | |||
const shards::CellTopology & | celltopo, | |||
const int | cellDims, | |||
int | local_side_id | |||
) | [protected] |
Definition at line 739 of file PHAL_Neumann_Def.hpp.
void PHAL::NeumannBase< EvalT, Traits >::evaluateNeumannContribution | ( | typename Traits::EvalData | d | ) | [protected] |
Definition at line 344 of file PHAL_Neumann_Def.hpp.
const Teuchos::RCP<Albany::Layouts>& PHAL::NeumannBase< EvalT, Traits >::dl [protected] |
Definition at line 57 of file PHAL_Neumann.hpp.
const Teuchos::RCP<Albany::MeshSpecsStruct>& PHAL::NeumannBase< EvalT, Traits >::meshSpecs [protected] |
Definition at line 58 of file PHAL_Neumann.hpp.
int PHAL::NeumannBase< EvalT, Traits >::cellDims [protected] |
Definition at line 60 of file PHAL_Neumann.hpp.
int PHAL::NeumannBase< EvalT, Traits >::sideDims [protected] |
Definition at line 60 of file PHAL_Neumann.hpp.
int PHAL::NeumannBase< EvalT, Traits >::numQPs [protected] |
Definition at line 60 of file PHAL_Neumann.hpp.
int PHAL::NeumannBase< EvalT, Traits >::numQPsSide [protected] |
Definition at line 60 of file PHAL_Neumann.hpp.
int PHAL::NeumannBase< EvalT, Traits >::numNodes [protected] |
Definition at line 60 of file PHAL_Neumann.hpp.
Teuchos::Array<int> PHAL::NeumannBase< EvalT, Traits >::offset [protected] |
Definition at line 61 of file PHAL_Neumann.hpp.
int PHAL::NeumannBase< EvalT, Traits >::numDOFsSet [protected] |
Definition at line 62 of file PHAL_Neumann.hpp.
std::string PHAL::NeumannBase< EvalT, Traits >::betaName [protected] |
Definition at line 65 of file PHAL_Neumann.hpp.
double PHAL::NeumannBase< EvalT, Traits >::L [protected] |
Definition at line 66 of file PHAL_Neumann.hpp.
MeshScalarT PHAL::NeumannBase< EvalT, Traits >::betaXY [protected] |
Definition at line 67 of file PHAL_Neumann.hpp.
BETAXY_NAME PHAL::NeumannBase< EvalT, Traits >::beta_type [protected] |
Definition at line 69 of file PHAL_Neumann.hpp.
PHX::MDField<MeshScalarT,Cell,Vertex,Dim> PHAL::NeumannBase< EvalT, Traits >::coordVec [protected] |
Coordinate vector at vertices.
Definition at line 142 of file PHAL_Neumann.hpp.
PHX::MDField<ScalarT,Cell,Node> PHAL::NeumannBase< EvalT, Traits >::dof [protected] |
Definition at line 143 of file PHAL_Neumann.hpp.
PHX::MDField<ScalarT,Cell,Node,VecDim> PHAL::NeumannBase< EvalT, Traits >::dofVec [protected] |
Definition at line 144 of file PHAL_Neumann.hpp.
PHX::MDField<ScalarT,Cell,Node> PHAL::NeumannBase< EvalT, Traits >::beta_field [protected] |
Definition at line 145 of file PHAL_Neumann.hpp.
PHX::MDField<ScalarT,Cell,Node> PHAL::NeumannBase< EvalT, Traits >::thickness_field [protected] |
Definition at line 146 of file PHAL_Neumann.hpp.
PHX::MDField<RealType,Cell,Node> PHAL::NeumannBase< EvalT, Traits >::elevation_field [protected] |
Definition at line 147 of file PHAL_Neumann.hpp.
Teuchos::RCP<shards::CellTopology> PHAL::NeumannBase< EvalT, Traits >::cellType [protected] |
Definition at line 148 of file PHAL_Neumann.hpp.
Teuchos::RCP<shards::CellTopology> PHAL::NeumannBase< EvalT, Traits >::sideType [protected] |
Definition at line 149 of file PHAL_Neumann.hpp.
Teuchos::RCP<Intrepid::Cubature<RealType> > PHAL::NeumannBase< EvalT, Traits >::cubatureCell [protected] |
Definition at line 150 of file PHAL_Neumann.hpp.
Teuchos::RCP<Intrepid::Cubature<RealType> > PHAL::NeumannBase< EvalT, Traits >::cubatureSide [protected] |
Definition at line 151 of file PHAL_Neumann.hpp.
Teuchos::RCP<Intrepid::Basis<RealType, Intrepid::FieldContainer<RealType> > > PHAL::NeumannBase< EvalT, Traits >::intrepidBasis [protected] |
Definition at line 154 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<RealType> PHAL::NeumannBase< EvalT, Traits >::cubPointsSide [protected] |
Definition at line 157 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<RealType> PHAL::NeumannBase< EvalT, Traits >::refPointsSide [protected] |
Definition at line 158 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<RealType> PHAL::NeumannBase< EvalT, Traits >::cubWeightsSide [protected] |
Definition at line 159 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<MeshScalarT> PHAL::NeumannBase< EvalT, Traits >::physPointsSide [protected] |
Definition at line 160 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<MeshScalarT> PHAL::NeumannBase< EvalT, Traits >::jacobianSide [protected] |
Definition at line 161 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<MeshScalarT> PHAL::NeumannBase< EvalT, Traits >::jacobianSide_det [protected] |
Definition at line 162 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<MeshScalarT> PHAL::NeumannBase< EvalT, Traits >::physPointsCell [protected] |
Definition at line 164 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<MeshScalarT> PHAL::NeumannBase< EvalT, Traits >::weighted_measure [protected] |
Definition at line 166 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<RealType> PHAL::NeumannBase< EvalT, Traits >::basis_refPointsSide [protected] |
Definition at line 167 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<MeshScalarT> PHAL::NeumannBase< EvalT, Traits >::trans_basis_refPointsSide [protected] |
Definition at line 168 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<MeshScalarT> PHAL::NeumannBase< EvalT, Traits >::weighted_trans_basis_refPointsSide [protected] |
Definition at line 169 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<ScalarT> PHAL::NeumannBase< EvalT, Traits >::dofCell [protected] |
Definition at line 171 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<ScalarT> PHAL::NeumannBase< EvalT, Traits >::dofSide [protected] |
Definition at line 172 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<ScalarT> PHAL::NeumannBase< EvalT, Traits >::dofCellVec [protected] |
Definition at line 174 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<ScalarT> PHAL::NeumannBase< EvalT, Traits >::dofSideVec [protected] |
Definition at line 175 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<ScalarT> PHAL::NeumannBase< EvalT, Traits >::data [protected] |
Definition at line 177 of file PHAL_Neumann.hpp.
Intrepid::FieldContainer<ScalarT> PHAL::NeumannBase< EvalT, Traits >::neumann [protected] |
Definition at line 180 of file PHAL_Neumann.hpp.
std::string PHAL::NeumannBase< EvalT, Traits >::sideSetID [protected] |
Definition at line 182 of file PHAL_Neumann.hpp.
Teuchos::Array<RealType> PHAL::NeumannBase< EvalT, Traits >::inputValues [protected] |
Definition at line 183 of file PHAL_Neumann.hpp.
std::string PHAL::NeumannBase< EvalT, Traits >::inputConditions [protected] |
Definition at line 184 of file PHAL_Neumann.hpp.
std::string PHAL::NeumannBase< EvalT, Traits >::name [protected] |
Definition at line 185 of file PHAL_Neumann.hpp.
NEU_TYPE PHAL::NeumannBase< EvalT, Traits >::bc_type [protected] |
Definition at line 187 of file PHAL_Neumann.hpp.
SIDE_TYPE PHAL::NeumannBase< EvalT, Traits >::side_type [protected] |
Definition at line 188 of file PHAL_Neumann.hpp.
ScalarT PHAL::NeumannBase< EvalT, Traits >::const_val [protected] |
Definition at line 189 of file PHAL_Neumann.hpp.
ScalarT PHAL::NeumannBase< EvalT, Traits >::robin_vals[5] [protected] |
Definition at line 190 of file PHAL_Neumann.hpp.
std::vector<ScalarT> PHAL::NeumannBase< EvalT, Traits >::dudx [protected] |
Definition at line 191 of file PHAL_Neumann.hpp.
std::vector<ScalarT> PHAL::NeumannBase< EvalT, Traits >::matScaling [protected] |
Definition at line 193 of file PHAL_Neumann.hpp.