Public Member Functions | Protected Attributes | Private Member Functions

Albany::ProjectionProblem Class Reference

Problem definition for solid mechanics problem with projection. More...

#include <ProjectionProblem.hpp>

Inheritance diagram for Albany::ProjectionProblem:
Inheritance graph
[legend]
Collaboration diagram for Albany::ProjectionProblem:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ProjectionProblem (RCP< ParameterList > const &parameter_list, RCP< ParamLib > const &parameter_library, int const number_equations)
 Default constructor.
virtual ~ProjectionProblem ()
 Destructor.
virtual int spatialDimension () const
 Return number of spatial dimensions.
virtual void buildProblem (ArrayRCP< RCP< Albany::MeshSpecsStruct > > mesh_specs, StateManager &state_manager)
 Build the PDE instantiations, boundary conditions, and initial solution.
virtual Teuchos::Array< RCP
< const PHX::FieldTag > > 
buildEvaluators (PHX::FieldManager< AlbanyTraits > &field_manager, Albany::MeshSpecsStruct const &mesh_specs, Albany::StateManager &state_manager, Albany::FieldManagerChoice field_manager_choice, RCP< ParameterList > const &response_list)
 Build evaluators.
RCP< ParameterList const > getValidProblemParameters () const
 Each problem must generate its list of valid parameters.
void getAllocatedStates (ArrayRCP< ArrayRCP< RCP< FieldContainer< RealType > > > > old_state, ArrayRCP< ArrayRCP< RCP< FieldContainer< RealType > > > > new_state) const
 Internal variables.
template<typename Evaluator >
RCP< const PHX::FieldTag > constructEvaluators (PHX::FieldManager< AlbanyTraits > &field_manager, Albany::MeshSpecsStruct const &mesh_specs, Albany::StateManager &state_manager, Albany::FieldManagerChoice field_manager_choice, RCP< ParameterList > const &response_list)
 Main problem setup routine.
void constructDirichletEvaluators (Albany::MeshSpecsStruct const &mesh_specs)

Protected Attributes

bool have_boundary_source_
 Boundary conditions on source term.
int target_offset_
 Position of T unknown in nodal DOFs.
int source_offset_
 Position of X unknown in nodal DOFs, followed by Y,Z.
int number_dimensions_
 Number of spatial dimensions and displacement variable.
std::string material_model_name_
std::string projected_field_name_
bool is_field_vector_
bool is_field_tensor_
int projection_rank_
LCM::Projection projection_
std::string insertion_criterion_
ArrayRCP< ArrayRCP< RCP
< FieldContainer< RealType > > > > 
old_state_
ArrayRCP< ArrayRCP< RCP
< FieldContainer< RealType > > > > 
new_state_

Private Member Functions

 ProjectionProblem (ProjectionProblem const &)
 Private to prohibit copying.
ProjectionProblemoperator= (ProjectionProblem const &)

Detailed Description

Problem definition for solid mechanics problem with projection.

Definition at line 35 of file ProjectionProblem.hpp.


Constructor & Destructor Documentation

Albany::ProjectionProblem::ProjectionProblem ( RCP< ParameterList > const &  parameter_list,
RCP< ParamLib > const &  parameter_library,
int const   number_equations 
)

Default constructor.

Definition at line 13 of file ProjectionProblem.cpp.

Albany::ProjectionProblem::~ProjectionProblem (  )  [virtual]

Destructor.

Definition at line 129 of file ProjectionProblem.cpp.

Albany::ProjectionProblem::ProjectionProblem ( ProjectionProblem const &   )  [private]

Private to prohibit copying.


Member Function Documentation

virtual int Albany::ProjectionProblem::spatialDimension (  )  const [inline, virtual]

Return number of spatial dimensions.

Implements Albany::AbstractProblem.

Definition at line 58 of file ProjectionProblem.hpp.

void Albany::ProjectionProblem::buildProblem ( ArrayRCP< RCP< Albany::MeshSpecsStruct > >  mesh_specs,
Albany::StateManager state_manager 
) [virtual]

Build the PDE instantiations, boundary conditions, and initial solution.

Definition at line 134 of file ProjectionProblem.cpp.

Teuchos::Array< RCP< const PHX::FieldTag > > Albany::ProjectionProblem::buildEvaluators ( PHX::FieldManager< AlbanyTraits > &  field_manager,
Albany::MeshSpecsStruct const &  mesh_specs,
Albany::StateManager state_manager,
Albany::FieldManagerChoice  field_manager_choice,
RCP< ParameterList > const &  response_list 
) [virtual]

Build evaluators.

Definition at line 158 of file ProjectionProblem.cpp.

RCP< const ParameterList > Albany::ProjectionProblem::getValidProblemParameters (  )  const [virtual]

Each problem must generate its list of valid parameters.

Reimplemented from Albany::AbstractProblem.

Definition at line 207 of file ProjectionProblem.cpp.

void Albany::ProjectionProblem::getAllocatedStates ( ArrayRCP< ArrayRCP< RCP< FieldContainer< RealType > > > >  old_state,
ArrayRCP< ArrayRCP< RCP< FieldContainer< RealType > > > >  new_state 
) const

Internal variables.

Definition at line 265 of file ProjectionProblem.cpp.

template<typename Evaluator >
RCP< const PHX::FieldTag > Albany::ProjectionProblem::constructEvaluators ( PHX::FieldManager< AlbanyTraits > &  field_manager,
Albany::MeshSpecsStruct const &  mesh_specs,
Albany::StateManager state_manager,
Albany::FieldManagerChoice  field_manager_choice,
RCP< ParameterList > const &  response_list 
)

Main problem setup routine.

Not directly called, but indirectly by following functions

Definition at line 211 of file ProjectionProblem.hpp.

void Albany::ProjectionProblem::constructDirichletEvaluators ( Albany::MeshSpecsStruct const &  mesh_specs  ) 

Definition at line 183 of file ProjectionProblem.cpp.

ProjectionProblem& Albany::ProjectionProblem::operator= ( ProjectionProblem const &   )  [private]

Member Data Documentation

Boundary conditions on source term.

Definition at line 126 of file ProjectionProblem.hpp.

Position of T unknown in nodal DOFs.

Definition at line 130 of file ProjectionProblem.hpp.

Position of X unknown in nodal DOFs, followed by Y,Z.

Definition at line 134 of file ProjectionProblem.hpp.

Number of spatial dimensions and displacement variable.

Definition at line 138 of file ProjectionProblem.hpp.

Definition at line 141 of file ProjectionProblem.hpp.

Definition at line 144 of file ProjectionProblem.hpp.

Definition at line 147 of file ProjectionProblem.hpp.

Definition at line 150 of file ProjectionProblem.hpp.

Definition at line 153 of file ProjectionProblem.hpp.

Definition at line 156 of file ProjectionProblem.hpp.

Definition at line 159 of file ProjectionProblem.hpp.

ArrayRCP<ArrayRCP<RCP<FieldContainer<RealType> > > > Albany::ProjectionProblem::old_state_ [protected]

Definition at line 162 of file ProjectionProblem.hpp.

ArrayRCP<ArrayRCP<RCP<FieldContainer<RealType> > > > Albany::ProjectionProblem::new_state_ [protected]

Definition at line 165 of file ProjectionProblem.hpp.


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