Definition for the ConcurrentMultiscale Problem. More...
#include <ConcurrentMultiscaleProblem.hpp>
Public Types | |
typedef Intrepid::FieldContainer < RealType > | FC |
Public Member Functions | |
ConcurrentMultiscaleProblem (Teuchos::RCP< Teuchos::ParameterList > const ¶ms, Teuchos::RCP< ParamLib > const ¶m_lib, int const num_dims, Teuchos::RCP< const Epetra_Comm > const &comm) | |
Default constructor. | |
virtual | ~ConcurrentMultiscaleProblem () |
Destructor. | |
Teuchos::RCP< std::map < std::string, std::string > > | constructFieldNameMap (bool surface_flag) |
virtual int | spatialDimension () const |
Return number of spatial dimensions. | |
virtual void | buildProblem (Teuchos::ArrayRCP< Teuchos::RCP< Albany::MeshSpecsStruct > > mesh_specs, StateManager &state_mgr) |
Build the PDE instantiations, boundary conditions, initial solution. | |
virtual Teuchos::Array < Teuchos::RCP< const PHX::FieldTag > > | buildEvaluators (PHX::FieldManager< PHAL::AlbanyTraits > &fm0, Albany::MeshSpecsStruct const &mesh_specs, Albany::StateManager &state_mgr, Albany::FieldManagerChoice fm_choice, Teuchos::RCP< Teuchos::ParameterList > const &response_list) |
Build evaluators. | |
Teuchos::RCP < Teuchos::ParameterList const > | getValidProblemParameters () const |
Each problem must generate its list of valid parameters. | |
void | getAllocatedStates (Teuchos::ArrayRCP< Teuchos::ArrayRCP< Teuchos::RCP< FC > > > old_state, Teuchos::ArrayRCP< Teuchos::ArrayRCP< Teuchos::RCP< FC > > > new_state) const |
Retrieve the state data. | |
template<typename EvalT > | |
Teuchos::RCP< const PHX::FieldTag > | constructEvaluators (PHX::FieldManager< PHAL::AlbanyTraits > &fm0, Albany::MeshSpecsStruct const &mesh_specs, Albany::StateManager &state_mgr, Albany::FieldManagerChoice fm_choice, Teuchos::RCP< Teuchos::ParameterList > &response_list) |
Main problem setup routine. | |
void | constructDirichletEvaluators (Albany::MeshSpecsStruct const &mesh_specs) |
Setup for the dirichlet BCs. | |
Protected Attributes | |
bool | have_source_ |
Boundary conditions on source term. | |
int | num_dims_ |
num of dimensions | |
int | num_pts_ |
number of integration points | |
int | num_nodes_ |
number of element nodes | |
int | num_vertices_ |
number of element vertices | |
std::map< std::string, bool > | coarse_overlap_map_ |
Map to indicate overlap block. | |
std::map< std::string, bool > | fine_overlap_map_ |
Flag to indicate overlap block. | |
std::map< std::string, bool > | lm_overlap_map_ |
Map for the Lagrange multiplier blocks. | |
Teuchos::RCP < QCAD::MaterialDatabase > | material_db_ |
RCP to matDB object. | |
Teuchos::ArrayRCP < Teuchos::ArrayRCP < Teuchos::RCP< FC > > > | old_state_ |
old state data | |
Teuchos::ArrayRCP < Teuchos::ArrayRCP < Teuchos::RCP< FC > > > | new_state_ |
new state data | |
Private Member Functions | |
ConcurrentMultiscaleProblem (ConcurrentMultiscaleProblem const &) | |
Private to prohibit copying. | |
ConcurrentMultiscaleProblem & | operator= (ConcurrentMultiscaleProblem const &) |
Private to prohibit copying. | |
QCAD::MaterialDatabase & | matDB () |
Definition for the ConcurrentMultiscale Problem.
Definition at line 25 of file ConcurrentMultiscaleProblem.hpp.
typedef Intrepid::FieldContainer<RealType> Albany::ConcurrentMultiscaleProblem::FC |
Definition at line 28 of file ConcurrentMultiscaleProblem.hpp.
Albany::ConcurrentMultiscaleProblem::ConcurrentMultiscaleProblem | ( | Teuchos::RCP< Teuchos::ParameterList > const & | params, | |
Teuchos::RCP< ParamLib > const & | param_lib, | |||
int const | num_dims, | |||
Teuchos::RCP< const Epetra_Comm > const & | comm | |||
) |
Default constructor.
Definition at line 13 of file ConcurrentMultiscaleProblem.cpp.
Albany::ConcurrentMultiscaleProblem::~ConcurrentMultiscaleProblem | ( | ) | [virtual] |
Destructor.
Definition at line 88 of file ConcurrentMultiscaleProblem.cpp.
Albany::ConcurrentMultiscaleProblem::ConcurrentMultiscaleProblem | ( | ConcurrentMultiscaleProblem const & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP<std::map<std::string, std::string> > Albany::ConcurrentMultiscaleProblem::constructFieldNameMap | ( | bool | surface_flag | ) |
virtual int Albany::ConcurrentMultiscaleProblem::spatialDimension | ( | ) | const [inline, virtual] |
Return number of spatial dimensions.
Implements Albany::AbstractProblem.
Definition at line 54 of file ConcurrentMultiscaleProblem.hpp.
void Albany::ConcurrentMultiscaleProblem::buildProblem | ( | Teuchos::ArrayRCP< Teuchos::RCP< Albany::MeshSpecsStruct > > | mesh_specs, | |
Albany::StateManager & | state_mgr | |||
) | [virtual] |
Build the PDE instantiations, boundary conditions, initial solution.
Implements Albany::AbstractProblem.
Definition at line 97 of file ConcurrentMultiscaleProblem.cpp.
Teuchos::Array< Teuchos::RCP< const PHX::FieldTag > > Albany::ConcurrentMultiscaleProblem::buildEvaluators | ( | PHX::FieldManager< PHAL::AlbanyTraits > & | fm0, | |
Albany::MeshSpecsStruct const & | mesh_specs, | |||
Albany::StateManager & | state_mgr, | |||
Albany::FieldManagerChoice | fm_choice, | |||
Teuchos::RCP< Teuchos::ParameterList > const & | response_list | |||
) | [virtual] |
Build evaluators.
Implements Albany::AbstractProblem.
Definition at line 166 of file ConcurrentMultiscaleProblem.cpp.
Teuchos::RCP< const Teuchos::ParameterList > Albany::ConcurrentMultiscaleProblem::getValidProblemParameters | ( | ) | const [virtual] |
Each problem must generate its list of valid parameters.
Reimplemented from Albany::AbstractProblem.
Definition at line 218 of file ConcurrentMultiscaleProblem.cpp.
void Albany::ConcurrentMultiscaleProblem::getAllocatedStates | ( | Teuchos::ArrayRCP< Teuchos::ArrayRCP< Teuchos::RCP< FC > > > | old_state, | |
Teuchos::ArrayRCP< Teuchos::ArrayRCP< Teuchos::RCP< FC > > > | new_state | |||
) | const |
Retrieve the state data.
Definition at line 235 of file ConcurrentMultiscaleProblem.cpp.
ConcurrentMultiscaleProblem& Albany::ConcurrentMultiscaleProblem::operator= | ( | ConcurrentMultiscaleProblem const & | ) | [private] |
Private to prohibit copying.
QCAD::MaterialDatabase& Albany::ConcurrentMultiscaleProblem::matDB | ( | ) | [inline, private] |
Definition at line 106 of file ConcurrentMultiscaleProblem.hpp.
Teuchos::RCP< const PHX::FieldTag > Albany::ConcurrentMultiscaleProblem::constructEvaluators | ( | PHX::FieldManager< PHAL::AlbanyTraits > & | fm0, | |
Albany::MeshSpecsStruct const & | mesh_specs, | |||
Albany::StateManager & | state_mgr, | |||
Albany::FieldManagerChoice | fm_choice, | |||
Teuchos::RCP< Teuchos::ParameterList > & | response_list | |||
) |
Main problem setup routine.
Not directly called, but indirectly by following functions
Definition at line 216 of file ConcurrentMultiscaleProblem.hpp.
void Albany::ConcurrentMultiscaleProblem::constructDirichletEvaluators | ( | Albany::MeshSpecsStruct const & | mesh_specs | ) |
Setup for the dirichlet BCs.
Definition at line 193 of file ConcurrentMultiscaleProblem.cpp.
bool Albany::ConcurrentMultiscaleProblem::have_source_ [protected] |
Boundary conditions on source term.
Definition at line 135 of file ConcurrentMultiscaleProblem.hpp.
int Albany::ConcurrentMultiscaleProblem::num_dims_ [protected] |
num of dimensions
Definition at line 140 of file ConcurrentMultiscaleProblem.hpp.
int Albany::ConcurrentMultiscaleProblem::num_pts_ [protected] |
number of integration points
Definition at line 145 of file ConcurrentMultiscaleProblem.hpp.
int Albany::ConcurrentMultiscaleProblem::num_nodes_ [protected] |
number of element nodes
Definition at line 150 of file ConcurrentMultiscaleProblem.hpp.
int Albany::ConcurrentMultiscaleProblem::num_vertices_ [protected] |
number of element vertices
Definition at line 155 of file ConcurrentMultiscaleProblem.hpp.
std::map< std::string, bool > Albany::ConcurrentMultiscaleProblem::coarse_overlap_map_ [protected] |
Map to indicate overlap block.
Definition at line 160 of file ConcurrentMultiscaleProblem.hpp.
std::map< std::string, bool > Albany::ConcurrentMultiscaleProblem::fine_overlap_map_ [protected] |
Flag to indicate overlap block.
Definition at line 165 of file ConcurrentMultiscaleProblem.hpp.
std::map< std::string, bool > Albany::ConcurrentMultiscaleProblem::lm_overlap_map_ [protected] |
Map for the Lagrange multiplier blocks.
Definition at line 170 of file ConcurrentMultiscaleProblem.hpp.
Teuchos::RCP<QCAD::MaterialDatabase> Albany::ConcurrentMultiscaleProblem::material_db_ [protected] |
RCP to matDB object.
Definition at line 175 of file ConcurrentMultiscaleProblem.hpp.
Teuchos::ArrayRCP<Teuchos::ArrayRCP<Teuchos::RCP<FC> > > Albany::ConcurrentMultiscaleProblem::old_state_ [protected] |
old state data
Definition at line 180 of file ConcurrentMultiscaleProblem.hpp.
Teuchos::ArrayRCP<Teuchos::ArrayRCP<Teuchos::RCP<FC> > > Albany::ConcurrentMultiscaleProblem::new_state_ [protected] |
new state data
Definition at line 185 of file ConcurrentMultiscaleProblem.hpp.