Problem definition for solid mechanics problem with projection. More...
#include <ProjectionProblem.hpp>
Public Member Functions | |
ProjectionProblem (RCP< ParameterList > const ¶meter_list, RCP< ParamLib > const ¶meter_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. | |
ProjectionProblem & | operator= (ProjectionProblem const &) |
Problem definition for solid mechanics problem with projection.
Definition at line 35 of file ProjectionProblem.hpp.
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.
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.
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] |
bool Albany::ProjectionProblem::have_boundary_source_ [protected] |
Boundary conditions on source term.
Definition at line 126 of file ProjectionProblem.hpp.
int Albany::ProjectionProblem::target_offset_ [protected] |
Position of T unknown in nodal DOFs.
Definition at line 130 of file ProjectionProblem.hpp.
int Albany::ProjectionProblem::source_offset_ [protected] |
Position of X unknown in nodal DOFs, followed by Y,Z.
Definition at line 134 of file ProjectionProblem.hpp.
int Albany::ProjectionProblem::number_dimensions_ [protected] |
Number of spatial dimensions and displacement variable.
Definition at line 138 of file ProjectionProblem.hpp.
std::string Albany::ProjectionProblem::material_model_name_ [protected] |
Definition at line 141 of file ProjectionProblem.hpp.
std::string Albany::ProjectionProblem::projected_field_name_ [protected] |
Definition at line 144 of file ProjectionProblem.hpp.
bool Albany::ProjectionProblem::is_field_vector_ [protected] |
Definition at line 147 of file ProjectionProblem.hpp.
bool Albany::ProjectionProblem::is_field_tensor_ [protected] |
Definition at line 150 of file ProjectionProblem.hpp.
int Albany::ProjectionProblem::projection_rank_ [protected] |
Definition at line 153 of file ProjectionProblem.hpp.
Definition at line 156 of file ProjectionProblem.hpp.
std::string Albany::ProjectionProblem::insertion_criterion_ [protected] |
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.