Definition for the SchwarzMultiscale Problem. More...
#include <SchwarzMultiscaleProblem.hpp>


Public Types | |
| typedef Intrepid::FieldContainer < RealType > | FC |
Public Member Functions | |
| SchwarzMultiscaleProblem (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 | ~SchwarzMultiscaleProblem () |
| 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 > | overlap_map_ |
| Map to indicate overlap block. | |
| 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 | |
| SchwarzMultiscaleProblem (SchwarzMultiscaleProblem const &) | |
| Private to prohibit copying. | |
| SchwarzMultiscaleProblem & | operator= (SchwarzMultiscaleProblem const &) |
| Private to prohibit copying. | |
| QCAD::MaterialDatabase & | matDB () |
Definition for the SchwarzMultiscale Problem.
Definition at line 25 of file SchwarzMultiscaleProblem.hpp.
| typedef Intrepid::FieldContainer<RealType> Albany::SchwarzMultiscaleProblem::FC |
Definition at line 28 of file SchwarzMultiscaleProblem.hpp.
| Albany::SchwarzMultiscaleProblem::SchwarzMultiscaleProblem | ( | 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 SchwarzMultiscaleProblem.cpp.
| Albany::SchwarzMultiscaleProblem::~SchwarzMultiscaleProblem | ( | ) | [virtual] |
Destructor.
Definition at line 91 of file SchwarzMultiscaleProblem.cpp.
| Albany::SchwarzMultiscaleProblem::SchwarzMultiscaleProblem | ( | SchwarzMultiscaleProblem const & | ) | [private] |
Private to prohibit copying.
| Teuchos::RCP<std::map<std::string, std::string> > Albany::SchwarzMultiscaleProblem::constructFieldNameMap | ( | bool | surface_flag | ) |
| virtual int Albany::SchwarzMultiscaleProblem::spatialDimension | ( | ) | const [inline, virtual] |
Return number of spatial dimensions.
Implements Albany::AbstractProblem.
Definition at line 54 of file SchwarzMultiscaleProblem.hpp.
| void Albany::SchwarzMultiscaleProblem::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 100 of file SchwarzMultiscaleProblem.cpp.
| Teuchos::Array< Teuchos::RCP< const PHX::FieldTag > > Albany::SchwarzMultiscaleProblem::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 145 of file SchwarzMultiscaleProblem.cpp.
| Teuchos::RCP< const Teuchos::ParameterList > Albany::SchwarzMultiscaleProblem::getValidProblemParameters | ( | ) | const [virtual] |
Each problem must generate its list of valid parameters.
Reimplemented from Albany::AbstractProblem.
Definition at line 197 of file SchwarzMultiscaleProblem.cpp.
| void Albany::SchwarzMultiscaleProblem::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 214 of file SchwarzMultiscaleProblem.cpp.
| SchwarzMultiscaleProblem& Albany::SchwarzMultiscaleProblem::operator= | ( | SchwarzMultiscaleProblem const & | ) | [private] |
Private to prohibit copying.
| QCAD::MaterialDatabase& Albany::SchwarzMultiscaleProblem::matDB | ( | ) | [inline, private] |
Definition at line 106 of file SchwarzMultiscaleProblem.hpp.
| Teuchos::RCP< const PHX::FieldTag > Albany::SchwarzMultiscaleProblem::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 206 of file SchwarzMultiscaleProblem.hpp.
| void Albany::SchwarzMultiscaleProblem::constructDirichletEvaluators | ( | Albany::MeshSpecsStruct const & | mesh_specs | ) |
Setup for the dirichlet BCs.
Definition at line 172 of file SchwarzMultiscaleProblem.cpp.
bool Albany::SchwarzMultiscaleProblem::have_source_ [protected] |
Boundary conditions on source term.
Definition at line 135 of file SchwarzMultiscaleProblem.hpp.
int Albany::SchwarzMultiscaleProblem::num_dims_ [protected] |
num of dimensions
Definition at line 140 of file SchwarzMultiscaleProblem.hpp.
int Albany::SchwarzMultiscaleProblem::num_pts_ [protected] |
number of integration points
Definition at line 145 of file SchwarzMultiscaleProblem.hpp.
int Albany::SchwarzMultiscaleProblem::num_nodes_ [protected] |
number of element nodes
Definition at line 150 of file SchwarzMultiscaleProblem.hpp.
int Albany::SchwarzMultiscaleProblem::num_vertices_ [protected] |
number of element vertices
Definition at line 155 of file SchwarzMultiscaleProblem.hpp.
std::map< std::string, bool > Albany::SchwarzMultiscaleProblem::overlap_map_ [protected] |
Map to indicate overlap block.
Definition at line 160 of file SchwarzMultiscaleProblem.hpp.
Teuchos::RCP<QCAD::MaterialDatabase> Albany::SchwarzMultiscaleProblem::material_db_ [protected] |
RCP to matDB object.
Definition at line 165 of file SchwarzMultiscaleProblem.hpp.
Teuchos::ArrayRCP<Teuchos::ArrayRCP<Teuchos::RCP<FC> > > Albany::SchwarzMultiscaleProblem::old_state_ [protected] |
old state data
Definition at line 170 of file SchwarzMultiscaleProblem.hpp.
Teuchos::ArrayRCP<Teuchos::ArrayRCP<Teuchos::RCP<FC> > > Albany::SchwarzMultiscaleProblem::new_state_ [protected] |
new state data
Definition at line 175 of file SchwarzMultiscaleProblem.hpp.
1.7.1