Namespaces | Functions

QCAD_Solver.cpp File Reference

#include "QCAD_Solver.hpp"
#include "QCAD_CoupledPoissonSchrodinger.hpp"
#include "Piro_Epetra_LOCASolver.hpp"
#include "Stokhos.hpp"
#include "Stokhos_Epetra.hpp"
#include "Sacado_PCE_OrthogPoly.hpp"
#include "Teuchos_XMLParameterListHelpers.hpp"
#include "Teuchos_ParameterList.hpp"
#include "Albany_Utils.hpp"
#include "Albany_SolverFactory.hpp"
#include "Albany_StateInfoStruct.hpp"
#include "Albany_EigendataInfoStruct.hpp"
Include dependency graph for QCAD_Solver.cpp:

Go to the source code of this file.

Namespaces

namespace  QCAD
 

Provides general-purpose template-specialized functions for use in other evaluator classes.


Functions

void QCAD::SolveModel (const SolverSubSolver &ss)
void QCAD::SolveModel (const SolverSubSolver &ss, Albany::StateArrays *&pInitialStates, Albany::StateArrays *&pFinalStates)
void QCAD::SolveModel (const QCAD::SolverSubSolver &ss, Teuchos::RCP< Albany::EigendataStruct > &pInitialEData, Teuchos::RCP< Albany::EigendataStruct > &pFinalEData)
void QCAD::SolveModel (const SolverSubSolver &ss, Albany::StateArrays *&pInitialStates, Albany::StateArrays *&pFinalStates, Teuchos::RCP< Albany::EigendataStruct > &pInitialEData, Teuchos::RCP< Albany::EigendataStruct > &pFinalEData)
void QCAD::CopyStateToContainer (Albany::StateArrays &src, std::string stateNameToCopy, std::vector< Intrepid::FieldContainer< RealType > > &dest)
void QCAD::CopyContainerToState (std::vector< Intrepid::FieldContainer< RealType > > &src, Albany::StateArrays &dest, std::string stateNameOfCopy)
void QCAD::CopyContainer (std::vector< Intrepid::FieldContainer< RealType > > &src, std::vector< Intrepid::FieldContainer< RealType > > &dest)
void QCAD::AddContainerToContainer (std::vector< Intrepid::FieldContainer< RealType > > &src, std::vector< Intrepid::FieldContainer< RealType > > &dest, double srcFactor, double thisFactor)
void QCAD::AddContainerToState (std::vector< Intrepid::FieldContainer< RealType > > &src, Albany::StateArrays &dest, std::string stateName, double srcFactor, double thisFactor)
void QCAD::CopyState (Albany::StateArrays &src, Albany::StateArrays &dest, std::string stateNameToCopy)
void QCAD::AddStateToState (Albany::StateArrays &src, std::string srcStateNameToAdd, Albany::StateArrays &dest, std::string destStateNameToAddTo)
void QCAD::SubtractStateFromState (Albany::StateArrays &src, std::string srcStateNameToSubtract, Albany::StateArrays &dest, std::string destStateNameToSubtractFrom)
double QCAD::getMaxDifference (Albany::StateArrays &states, std::vector< Intrepid::FieldContainer< RealType > > &prevState, std::string stateName)
double QCAD::getNorm2Difference (Albany::StateArrays &states, std::vector< Intrepid::FieldContainer< RealType > > &prevState, std::string stateName)
double QCAD::getNorm2 (std::vector< Intrepid::FieldContainer< RealType > > &container, const Teuchos::RCP< const Epetra_Comm > &comm)
int QCAD::getElementCount (std::vector< Intrepid::FieldContainer< RealType > > &container)
void QCAD::ResetEigensolverShift (const Teuchos::RCP< EpetraExt::ModelEvaluator > &Solver, double newShift, Teuchos::RCP< Teuchos::ParameterList > &eigList)
double QCAD::GetEigensolverShift (const SolverSubSolver &ss, double pcBelowMinPotential)
void QCAD::SetPreviousDensityMixing (const Teuchos::RCP< EpetraExt::ModelEvaluator::InArgs > inArgs, double mixingFactor)
std::vector< std::string > QCAD::string_split (const std::string &s, char delim, bool bProtect=false)
std::string QCAD::string_remove_whitespace (const std::string &s)
std::vector< std::string > QCAD::string_parse_function (const std::string &s)
std::map< std::string,
std::string > 
QCAD::string_parse_arrayref (const std::string &s)
std::vector< int > QCAD::string_expand_compoundindex (const std::string &indexStr, int min_index, int max_index)