|
Finite Element Domain Decomposition Library
FEDDLib
|
Public Types | |
| typedef Problem< SC, LO, NO, GO > | Problem_Type |
| typedef Teuchos::RCP< Problem_Type > | ProblemPtr_Type |
| typedef TimeProblem< SC, LO, GO, NO > | TimeProblem_Type |
| typedef NonLinearProblem< SC, LO, GO, NO > | NonLinearProblem_Type |
| typedef Problem_Type::Matrix_Type | Matrix_Type |
| typedef Problem_Type::MatrixPtr_Type | MatrixPtr_Type |
| typedef Teuchos::RCP< ExporterTxt > | ExporterTxtPtr_Type |
| typedef boost::function< bool(std::string &, int, double, ParameterListPtr_Type parameterList)> | SwitchingStrategyFunc |
Public Member Functions | |
| NonLinearSolver (std::string type) | |
| Constructor with the corresponding type of nonlinear Solver / Linearization: Newton, FixedPoint, NOX. | |
| void | solve (NonLinearProblem_Type &problem, vec_dbl_ptr_Type valuesForExport=Teuchos::null) |
| Call for solving a nonlinear problem, depending on linearization solveNOX/solveFixedPoint/solveNewton is called. | |
| void | solve (TimeProblem_Type &problem, double time=0., vec_dbl_ptr_Type valuesForExport=Teuchos::null) |
| Call for solving a nonlinear problem which is also a time problem, depending on linearization solveNOX/solveFixedPoint/solveNewton is called. | |
| int | getNonLinIts () |
| return the number of nonlinear iterations needed | |
| void | addSwitchingStrategyFunction (SwitchingStrategyFunc switchingStrategy) |
| Add a switching strategy function for the FixedPointNewton method. | |
|
inline |
Add a switching strategy function for the FixedPointNewton method.
| [in] | switchingStrategy | function which decides whether to switch the linearization or not and outputs a boolean value whether linearization was switched or not |
| void FEDD::NonLinearSolver< SC, LO, GO, NO >::solve | ( | NonLinearProblem_Type & | problem, |
| vec_dbl_ptr_Type | valuesForExport = Teuchos::null ) |
Call for solving a nonlinear problem, depending on linearization solveNOX/solveFixedPoint/solveNewton is called.
| [in] | problem | |
| [in] | valuesForExport |
| void FEDD::NonLinearSolver< SC, LO, GO, NO >::solve | ( | TimeProblem_Type & | problem, |
| double | time = 0., | ||
| vec_dbl_ptr_Type | valuesForExport = Teuchos::null ) |
Call for solving a nonlinear problem which is also a time problem, depending on linearization solveNOX/solveFixedPoint/solveNewton is called.
| [in] | problem | time dependent problem |
| [in] | current | time |
| [in] | valuesForExport | contains nonlinear and average linear iteration count per solve step |