BISICLES AMR ice sheet model
0.9
|
#include <JFNKSolver.H>
Public Types | |
enum | LinearSolverType { Relax, BiCGStab, GMRES, CG, petsc } |
Public Member Functions | |
~Configuration () | |
Configuration () | |
void | parse (const char *a_prefix="JFNKSolver") |
Public Attributes | |
LinearSolverType | m_linearSolverType |
type of linear solver More... | |
int | m_maxIter |
maximum number of Newton steps; More... | |
Real | m_absTol |
absolute tolerance for convergence test; More... | |
Real | m_relTol |
relative tolerance for convergence test; More... | |
Real | m_BiCGStabRelTol |
BiCGstab solver relative tolerance. More... | |
int | m_maxBiCGStabIter |
maximum number of BiCGStab iterations More... | |
Real | m_CGRelTol |
CG solver relative tolerance. More... | |
int | m_maxCGIter |
maximum number of CG iterations More... | |
Real | m_GMRESRelTol |
GMRES solver relative tolerance. More... | |
int | m_maxGMRESIter |
maximum number of GMRES iterations More... | |
Real | m_RelaxRelTol |
Relax solver relative tolerance. More... | |
int | m_maxRelaxIter |
maximum number of Relax iterations More... | |
Real | m_RelaxHang |
hang parameter for RelaxSolver; More... | |
int | m_normType |
type of norm to test convergence against More... | |
int | m_verbosity |
verbosity More... | |
Real | m_vtopSafety |
safety number for viscous tensor op More... | |
Real | m_vtopRelaxTol |
relax tolerance for viscous tensor op More... | |
int | m_vtopRelaxMinIter |
minimum number of smnooths in viscous tensor op mg relax More... | |
int | m_numMGSmooth |
(maximum) number of smooths in mg relax More... | |
int | m_numMGIter |
number of MG v-cycles per BiCGStab iteration More... | |
Real | m_h |
size of finite differenc More... | |
Real | m_err |
parameters that appears in the adaptive calculation of h More... | |
Real | m_umin |
parameter that appears in the adaptive calculation of h More... | |
bool | m_hAdaptive |
Use adaptive calculation of h? More... | |
Real | m_switchRate |
rate at which to switch from Picard to JFNK mode More... | |
int | m_minPicardIter |
minumum number of Picard Iterations before switching to JFNK More... | |
Real | m_minStepFactor |
smallest acceptable factor to try when reducing the newton step length More... | |
bool | m_writeResiduals |
write out residual data frequently: useful for working out why solves fail More... | |
bool | m_eliminateFastIce |
throw away fast ice at the end of each iteration? More... | |
Real | m_eliminateFastIceSpeed |
how fast is fast? More... | |
bool | m_eliminateFastIceEdgeOnly |
throw away fast ice only ice/no ice boundaries More... | |
Real | m_eliminateRemoteIceTol |
how thin is thin ice? More... | |
Real | m_eliminateRemoteIceMaxIter |
limit the number of iterations in eliminate remote ice More... | |
Real | m_muMin |
smallest effective viscosity in ice-covered regions More... | |
Real | m_muMax |
largest effective viscosity in ice-covered regions More... | |
bool | m_residualOnly |
Real | m_scale |
Real | m_artificialDragCoef |
Real | m_artificialDragPower |
JFNKSolver::Configuration::~Configuration | ( | ) |
JFNKSolver::Configuration::Configuration | ( | ) |
void JFNKSolver::Configuration::parse | ( | const char * | a_prefix = "JFNKSolver" | ) |
since we tuned everthign to m/a, scaling to m/a by default
default is "lazy gsrb"
References IceVelocitySolver::define(), and PETSC.
Referenced by JFNKSolver::parseConfiguration().
Real JFNKSolver::Configuration::m_absTol |
absolute tolerance for convergence test;
Real JFNKSolver::Configuration::m_artificialDragCoef |
Real JFNKSolver::Configuration::m_artificialDragPower |
Real JFNKSolver::Configuration::m_BiCGStabRelTol |
BiCGstab solver relative tolerance.
Real JFNKSolver::Configuration::m_CGRelTol |
CG solver relative tolerance.
bool JFNKSolver::Configuration::m_eliminateFastIce |
throw away fast ice at the end of each iteration?
bool JFNKSolver::Configuration::m_eliminateFastIceEdgeOnly |
throw away fast ice only ice/no ice boundaries
Real JFNKSolver::Configuration::m_eliminateFastIceSpeed |
how fast is fast?
Real JFNKSolver::Configuration::m_eliminateRemoteIceMaxIter |
limit the number of iterations in eliminate remote ice
Real JFNKSolver::Configuration::m_eliminateRemoteIceTol |
how thin is thin ice?
Real JFNKSolver::Configuration::m_err |
parameters that appears in the adaptive calculation of h
Real JFNKSolver::Configuration::m_GMRESRelTol |
GMRES solver relative tolerance.
Real JFNKSolver::Configuration::m_h |
size of finite differenc
bool JFNKSolver::Configuration::m_hAdaptive |
Use adaptive calculation of h?
LinearSolverType JFNKSolver::Configuration::m_linearSolverType |
type of linear solver
int JFNKSolver::Configuration::m_maxBiCGStabIter |
maximum number of BiCGStab iterations
int JFNKSolver::Configuration::m_maxCGIter |
maximum number of CG iterations
int JFNKSolver::Configuration::m_maxGMRESIter |
maximum number of GMRES iterations
int JFNKSolver::Configuration::m_maxIter |
maximum number of Newton steps;
int JFNKSolver::Configuration::m_maxRelaxIter |
maximum number of Relax iterations
Referenced by InverseVerticallyIntegratedVelocitySolver::nDoF().
int JFNKSolver::Configuration::m_minPicardIter |
minumum number of Picard Iterations before switching to JFNK
This is useful when the first iteration or two of Picard don't get very far, but don't get close enough to the solution to warrant switching to JFNK mode. Default is zero.
Real JFNKSolver::Configuration::m_minStepFactor |
smallest acceptable factor to try when reducing the newton step length
Real JFNKSolver::Configuration::m_muMax |
largest effective viscosity in ice-covered regions
Real JFNKSolver::Configuration::m_muMin |
smallest effective viscosity in ice-covered regions
int JFNKSolver::Configuration::m_normType |
type of norm to test convergence against
int JFNKSolver::Configuration::m_numMGIter |
number of MG v-cycles per BiCGStab iteration
int JFNKSolver::Configuration::m_numMGSmooth |
(maximum) number of smooths in mg relax
Real JFNKSolver::Configuration::m_RelaxHang |
hang parameter for RelaxSolver;
Referenced by InverseVerticallyIntegratedVelocitySolver::nDoF().
Real JFNKSolver::Configuration::m_RelaxRelTol |
Relax solver relative tolerance.
Real JFNKSolver::Configuration::m_relTol |
relative tolerance for convergence test;
bool JFNKSolver::Configuration::m_residualOnly |
Real JFNKSolver::Configuration::m_scale |
Real JFNKSolver::Configuration::m_switchRate |
rate at which to switch from Picard to JFNK mode
Real JFNKSolver::Configuration::m_umin |
parameter that appears in the adaptive calculation of h
int JFNKSolver::Configuration::m_verbosity |
verbosity
int JFNKSolver::Configuration::m_vtopRelaxMinIter |
minimum number of smnooths in viscous tensor op mg relax
Real JFNKSolver::Configuration::m_vtopRelaxTol |
relax tolerance for viscous tensor op
Real JFNKSolver::Configuration::m_vtopSafety |
safety number for viscous tensor op
bool JFNKSolver::Configuration::m_writeResiduals |
write out residual data frequently: useful for working out why solves fail