Public Member Functions | |
| DoublingStepController (const TransientStepProblem &prob, const NonlinearSolver< double > &solver, const StepControlParameters &stepControl, const OutputControlParameters &outputControl, const RCP< ExprComparisonBase > &compare) | |
| void | setEventHandler (RCP< EventDetectorBase > e) | 
| void | setStepHook (RCP< StepHookBase > h) | 
| bool | run () const | 
| void | write (int index, double t, const Expr &u) const | 
Private Attributes | |
| TransientStepProblem | prob_ | 
| StepControlParameters | stepControl_ | 
| OutputControlParameters | outputControl_ | 
| NonlinearSolver< double > | solver_ | 
| RCP< ExprComparisonBase > | compare_ | 
| RCP< EventDetectorBase > | eventHandler_ | 
| RCP< StepHookBase > | stepHook_ | 
Definition at line 121 of file SundanceDoublingStepController.hpp.
| Sundance::DoublingStepController::DoublingStepController | ( | const TransientStepProblem & | prob, | |
| const NonlinearSolver< double > & | solver, | |||
| const StepControlParameters & | stepControl, | |||
| const OutputControlParameters & | outputControl, | |||
| const RCP< ExprComparisonBase > & | compare | |||
| ) |  [inline] | 
        
Definition at line 125 of file SundanceDoublingStepController.hpp.
| bool Sundance::DoublingStepController::run | ( | ) | const | 
Definition at line 42 of file SundanceDoublingStepController.cpp.
References compare_, Sundance::copyDiscreteFunction(), eventHandler_, Sundance::getDiscreteFunctionVector(), Sundance::StepControlParameters::initialStepsize_, Playa::max(), Sundance::StepControlParameters::maxSteps_, Sundance::StepControlParameters::maxStepsizeFactor_, Playa::min(), Sundance::StepControlParameters::minStepsizeFactor_, outputControl_, PLAYA_ROOT_MSG1, PLAYA_ROOT_MSG2, PLAYA_ROOT_MSG3, PLAYA_ROOT_MSG5, Sundance::pow(), prob_, Sundance::setDiscreteFunctionVector(), solver_, Sundance::TransientStepProblem::step(), stepControl_, stepHook_, Sundance::StepControlParameters::stepOrder_, Sundance::StepControlParameters::stepsizeReductionSafetyFactor_, Sundance::StepControlParameters::tau_, Sundance::StepControlParameters::tStart_, Sundance::StepControlParameters::tStop_, Sundance::TransientStepProblem::uCur(), Sundance::updateDiscreteFunction(), Sundance::OutputControlParameters::verbosity_, Sundance::StepControlParameters::verbosity_, Playa::MPIComm::world(), write(), and Sundance::OutputControlParameters::writeInterval_.
| void Sundance::DoublingStepController::setEventHandler | ( | RCP< EventDetectorBase > | e | ) |  [inline] | 
        
| void Sundance::DoublingStepController::setStepHook | ( | RCP< StepHookBase > | h | ) |  [inline] | 
        
| void Sundance::DoublingStepController::write | ( | int | index, | |
| double | t, | |||
| const Expr & | u | |||
| ) | const | 
Definition at line 242 of file SundanceDoublingStepController.cpp.
References Sundance::FieldWriter::addField(), Sundance::FieldWriter::addMesh(), Sundance::FieldWriterFactory::createWriter(), Sundance::OutputControlParameters::filename_, Sundance::getDiscreteFunctionMesh(), outputControl_, PLAYA_ROOT_MSG1, Sundance::Expr::size(), Teuchos::toString(), Sundance::toString(), Sundance::OutputControlParameters::verbosity_, Sundance::OutputControlParameters::wf_, and Sundance::FieldWriter::write().
Referenced by run().
RCP<ExprComparisonBase> Sundance::DoublingStepController::compare_ [private]           | 
        
RCP<EventDetectorBase> Sundance::DoublingStepController::eventHandler_ [private]           | 
        
Definition at line 160 of file SundanceDoublingStepController.hpp.
Referenced by run(), and setEventHandler().
Definition at line 157 of file SundanceDoublingStepController.hpp.
NonlinearSolver<double> Sundance::DoublingStepController::solver_ [private]           | 
        
RCP<StepHookBase> Sundance::DoublingStepController::stepHook_ [private]           | 
        
Definition at line 161 of file SundanceDoublingStepController.hpp.
Referenced by run(), and setStepHook().