![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|


Public Member Functions | |
| procedure | sln_has_converged (this, max_dvc) |
| Check global convergence. The local maximum dependent variable change is reduced over MPI with all other processes. | |
| procedure | sln_package_convergence (this, dpak, cpakout, iend) |
| procedure | sln_sync_newtonur_flag (this, inewtonur) |
| procedure | sln_nur_has_converged (this, dxold_max, hncg) |
| procedure | sln_calc_ptc (this, iptc, ptcf) |
| Calculate pseudo-transient continuation factor. | |
| procedure | sln_underrelax (this, kiter, bigch, neq, active, x, xtemp) |
| apply under-relaxation in sync over all processes | |
| procedure | sln_backtracking_xupdate (this, bt_flag) |
| synchronize backtracking flag over processes | |
| procedure | sln_maxval (this, nsize, v, vmax) |
| synchronize maxval over processes | |
| procedure | sln_get_idvscale (this) |
| synchronize idvscale flag over processes | |
| procedure | sln_df (this) |
| Define the solution. | |
| procedure(sln_df), deferred | sln_df (this) |
| procedure | sln_ar (this) |
| Allocate and read data. | |
| procedure(sln_ar), deferred | sln_ar (this) |
| procedure | sln_dt (this) |
| Calculate delt. | |
| procedure(sln_dt), deferred | sln_dt (this) |
| procedure | sln_ad (this) |
| Advance solution. | |
| procedure(sln_ad), deferred | sln_ad (this) |
| procedure | sln_ot (this) |
| Output solution. | |
| procedure(sln_ot), deferred | sln_ot (this) |
| procedure | sln_ca (this, isgcnvg, isuppress_output) |
| Solve solution. | |
| procedure(sln_ca), deferred | sln_ca (this, isgcnvg, isuppress_output) |
| procedure | sln_fp (this) |
| Finalize solution. | |
| procedure(sln_fp), deferred | sln_fp (this) |
| procedure | sln_da (this) |
| Deallocate solution. | |
| procedure(sln_da), deferred | sln_da (this) |
| procedure | add_model (this, mp) |
| Add a model. | |
| procedure(slnaddmodel), deferred | add_model (this, mp) |
| procedure | add_exchange (this, exchange) |
| Add exchange. | |
| procedure(slnaddexchange), deferred | add_exchange (this, exchange) |
| procedure | get_models (this) |
| Get a list of models. | |
| procedure(slngetmodels), deferred | get_models (this) |
| procedure | get_exchanges (this) |
| Returns a pointer to the list of exchanges in this solution. | |
| procedure(slngetexchanges), deferred | get_exchanges (this) |
| procedure | sln_has_converged (this, max_dvc) |
| procedure | sln_package_convergence (this, dpak, cpakout, iend) |
| Check package convergence. | |
| procedure | sln_sync_newtonur_flag (this, inewtonur) |
| Synchronize Newton Under-relaxation flag. | |
| procedure | sln_nur_has_converged (this, dxold_max, hncg) |
| Custom convergence check for when Newton UR has been applied. | |
| procedure | sln_calc_ptc (this, iptc, ptcf) |
| Calculate pseudo-transient continuation factor. | |
| procedure | sln_underrelax (this, kiter, bigch, neq, active, x, xtemp) |
| Under-relaxation. | |
| procedure | sln_backtracking_xupdate (this, bt_flag) |
| Backtracking update of the dependent variable. | |
| procedure | get_backtracking_flag (this) |
| Check if backtracking should be applied for this solution,. | |
| procedure | apply_backtracking (this) |
| Update x with backtracking. | |
| procedure | sln_get_idvscale (this) |
| Check if dependent variable scalining should be applied for this solution,. | |
| procedure | sln_maxval (this, nsize, v, vmax) |
| Get the maximum value from a vector. | |
| procedure, public | preparesolve (this) |
| prepare to solve | |
| procedure(preparesolve), deferred | preparesolve (this) |
| procedure, public | solve (this, kiter, isuppress_output) |
| Build and solve the simulation. | |
| procedure(solve), deferred | solve (this, kiter, isuppress_output) |
| procedure, public | finalizesolve (this, kiter, isgcnvg, isuppress_output) |
| finalize a solution | |
| procedure(finalizesolve), deferred | finalizesolve (this, kiter, isgcnvg, isuppress_output) |
Public Attributes | |
| integer(i4b) | tmr_convergence = -1 |
| timer for convergence check | |
| integer(i4b) | tmr_pkg_cnvg = -1 |
| timer for package convergence check | |
| integer(i4b) | tmr_sync_nur = -1 |
| timer for NUR synchronization | |
| integer(i4b) | tmr_nur_cnvg = -1 |
| timer for NUR convergence check | |
| integer(i4b) | tmr_calcptc = -1 |
| timer for PTC calculation | |
| integer(i4b) | tmr_underrelax = -1 |
| timer for underrelaxation | |
| integer(i4b) | tmr_backtracking = -1 |
| timer for backtracking | |
| character(len=lenmempath) | memory_path |
| the path for storing solution variables in the memory manager | |
| character(len=linelength) | fname |
| input file name | |
| character(len=16) | solver_mode |
| the type of solve: sequential, parallel, mayve block, etc. | |
| type(listtype), pointer | modellist |
| list of models in solution | |
| type(listtype), pointer | exchangelist |
| list of exchanges in solution | |
| integer(i4b), pointer | id |
| solution number | |
| integer(i4b), pointer | iu |
| input file unit | |
| real(dp), pointer | ttform |
| timer - total formulation time | |
| real(dp), pointer | ttsoln |
| timer - total solution time | |
| integer(i4b), pointer | isymmetric => null() |
| flag indicating if matrix symmetry is required | |
| integer(i4b), pointer | neq => null() |
| number of equations | |
| integer(i4b), pointer | matrix_offset => null() |
| offset of linear system when part of distributed solution | |
| class(linearsolverbasetype), pointer | linear_solver => null() |
| the linear solver for this solution | |
| class(matrixbasetype), pointer | system_matrix => null() |
| sparse A-matrix for the system of equations | |
| class(vectorbasetype), pointer | vec_rhs => null() |
| the right-hand side vector | |
| class(vectorbasetype), pointer | vec_x => null() |
| the dependent-variable vector | |
| real(dp), dimension(:), pointer, contiguous | rhs => null() |
| right-hand side vector values | |
| real(dp), dimension(:), pointer, contiguous | x => null() |
| dependent-variable vector values | |
| integer(i4b), dimension(:), pointer, contiguous | active => null() |
| active cell array | |
| real(dp), dimension(:), pointer, contiguous | xtemp => null() |
| temporary vector for previous dependent-variable iterate | |
| type(blockparsertype) | parser |
| block parser object | |
| real(dp), pointer | theta => null() |
| under-relaxation theta | |
| real(dp), pointer | akappa => null() |
| under-relaxation kappa | |
| real(dp), pointer | gamma => null() |
| under-relaxation gamma | |
| real(dp), pointer | amomentum => null() |
| under-relaxation momentum term | |
| real(dp), pointer | breduc => null() |
| backtracking reduction factor | |
| real(dp), pointer | btol => null() |
| backtracking tolerance | |
| real(dp), pointer | res_lim => null() |
| backtracking residual threshold | |
| real(dp), pointer | dvclose => null() |
| dependent-variable closure criteria | |
| real(dp), pointer | bigchold => null() |
| cooley under-relaxation weight | |
| real(dp), pointer | bigch => null() |
| under-relaxation maximum dependent-variable change | |
| real(dp), pointer | relaxold => null() |
| under-relaxation previous relaxation factor | |
| real(dp), pointer | res_prev => null() |
| previous L-2 norm | |
| real(dp), pointer | res_new => null() |
| current L-2 norm | |
| integer(i4b), pointer | icnvg => null() |
| convergence flag (1) non-convergence (0) | |
| integer(i4b), pointer | itertot_timestep => null() |
| total nr. of linear solves per call to sln_ca | |
| integer(i4b), pointer | iouttot_timestep => null() |
| total nr. of outer iterations per call to sln_ca | |
| integer(i4b), pointer | itertot_sim => null() |
| total nr. of inner iterations for simulation | |
| integer(i4b), pointer | mxiter => null() |
| maximum number of Picard iterations | |
| integer(i4b), pointer | linsolver => null() |
| linear solver used (IMS, PETSC, ...) | |
| integer(i4b), pointer | nonmeth => null() |
| under-relaxation method used | |
| integer(i4b), pointer | numtrack => null() |
| maximum number of backtracks | |
| integer(i4b), pointer | iprims => null() |
| solver print option | |
| integer(i4b), pointer | ibflag => null() |
| backtracking flag (1) on (0) off | |
| integer(i4b), dimension(:, :), pointer, contiguous | lrch => null() |
| location of the largest dependent-variable change at the end of a Picard iteration | |
| real(dp), dimension(:), pointer, contiguous | hncg => null() |
| largest dependent-variable change at the end of a Picard iteration | |
| real(dp), dimension(:), pointer, contiguous | dxold => null() |
| DBD under-relaxation previous dependent-variable change. | |
| real(dp), dimension(:), pointer, contiguous | deold => null() |
| DBD under-relaxation dependent-variable change variable. | |
| real(dp), dimension(:), pointer, contiguous | wsave => null() |
| DBD under-relaxation sign-change factor. | |
| real(dp), dimension(:), pointer, contiguous | hchold => null() |
| DBD under-relaxation weighted dependent-variable change. | |
| character(len=31), dimension(:), pointer, contiguous | caccel => null() |
| convergence string | |
| integer(i4b), pointer | icsvouterout => null() |
| Picard iteration CSV output flag and file unit. | |
| integer(i4b), pointer | icsvinnerout => null() |
| Inner iteration CSV output flag and file unit. | |
| integer(i4b), pointer | nitermax => null() |
| maximum number of iterations in a time step (maxiter * maxinner) | |
| integer(i4b), pointer | convnmod => null() |
| number of models in the solution | |
| integer(i4b), dimension(:), pointer, contiguous | convmodstart => null() |
| pointer to the start of each model in the convmod* arrays | |
| type(convergencesummarytype), pointer | cnvg_summary => null() |
| details on the convergence behavior within a timestep | |
| type(imslinearsettingstype), pointer | linear_settings => null() |
| IMS settings for linear solver. | |
| integer(i4b), pointer | idv_scale => null() |
| flag indicating if the X and right hand side will be scaled | |
| real(dp), pointer | dscale => null() |
| X and RHS scaling factor (maximum X). | |
| integer(i4b), pointer | iallowptc => null() |
| flag indicating if ptc applied this time step | |
| integer(i4b), pointer | iptcopt => null() |
| option for how to calculate the initial PTC value (ptcdel0) | |
| integer(i4b), pointer | iptcout => null() |
| PTC output flag and file unit. | |
| real(dp), pointer | l2norm0 => null() |
| L-2 norm at the start of the first Picard iteration. | |
| real(dp), pointer | ptcdel => null() |
| PTC delta value. | |
| real(dp), pointer | ptcdel0 => null() |
| initial PTC delta value | |
| real(dp), pointer | ptcexp => null() |
| PTC exponent. | |
| integer(i4b) | tmr_prep_solve |
| timer - prepare solve | |
| integer(i4b) | tmr_solve |
| timer - solve | |
| integer(i4b) | tmr_final_solve |
| timer - finalize solve | |
| integer(i4b) | tmr_formulate |
| timer - formulate | |
| integer(i4b) | tmr_linsolve |
| timer - linear solve | |
| integer(i4b) | tmr_flows |
| timer - calculate flows | |
| integer(i4b) | tmr_budgets |
| timer - calculate budgets | |
| character(len=24) | id_postfix |
| solution id based postfix for timer titles | |
| real(dp), pointer | atsfrac => null() |
| adaptive time step faction | |
| type(imslineardatatype), pointer | imslinear => null() |
| IMS linear acceleration object. | |
| type(sparsematrix) | sparse |
| sparse object | |
| type(tabletype), pointer | innertab => null() |
| inner iteration table object | |
| type(tabletype), pointer | outertab => null() |
| Picard iteration table object. | |
| class(*), pointer | synchronize_ctx => null() |
| procedure(synchronize_iface), pointer | synchronize => null() |
| character(len=lensolutionname) | name |
Private Member Functions | |
| procedure, private | sln_connect (this) |
| Assign solution connections. | |
| procedure, private | sln_reset (this) |
| Reset the solution. | |
| procedure, private | sln_ls (this, kiter, kstp, kper, in_iter, iptc, ptcf) |
| Solve the linear system of equations. | |
| procedure, private | sln_setouter (this, ifdparam) |
| Set default Picard iteration variables. | |
| procedure, private | sln_backtracking (this, mp, cp, kiter) |
| Perform backtracking. | |
| procedure, private | sln_calcdx (this, neq, active, x, xtemp, dx) |
| Calculate dependent-variable change. | |
| procedure, private | sln_calc_residual (this, vec_resid) |
| Calculate the current residual vector r = A*x - b,. | |
| procedure, private | sln_l2norm (this, l2norm) |
| Calculate the solution L-2 norm for all active cells using. | |
| procedure, private | sln_get_dxmax (this, hncg, lrch) |
| Determine maximum dependent-variable change. | |
| procedure, private | sln_get_loc (this, nodesln, str) |
| Get cell location string. | |
| procedure, private | sln_get_nodeu (this, nodesln, im, nodeu) |
| Get user node number. | |
| procedure, private | allocate_scalars (this) |
| Allocate scalars. | |
| procedure, private | allocate_arrays (this) |
| Allocate arrays. | |
| procedure, private | convergence_summary (this, iu, im, itertot_timestep) |
| Solution convergence summary. | |
| procedure, private | csv_convergence_summary (this, iu, totim, kper, kstp, kouter, niter, istart, kstart) |
| Solution convergence CSV summary. | |
| procedure, private | sln_buildsystem (this, kiter, inewton) |
| procedure, private | writecsvheader (this) |
| CSV header. | |
| procedure, private | writeptcinfotofile (this, kper) |
| PTC header. | |
Definition at line 13 of file ParallelSolution.f90.
|
pure virtualinherited |
Definition at line 28 of file BaseSolution.f90.
|
inherited |
Add and exchange to thisexchangelist.
| this | NumericalSolutionType instance | |
| [in] | exchange | model exchange instance |
Definition at line 174 of file NumericalSolution.f90.
|
pure virtualinherited |
Definition at line 27 of file BaseSolution.f90.
|
inherited |
Add a model to solution.
| this | NumericalSolutionType instance | |
| [in] | mp | model instance |
Definition at line 173 of file NumericalSolution.f90.
|
privateinherited |
Allocate arrays for a new solution.
| this | NumericalSolutionType instance |
Definition at line 205 of file NumericalSolution.f90.
|
privateinherited |
Allocate scalars for a new solution.
Definition at line 204 of file NumericalSolution.f90.
|
inherited |
| this | NumericalSolutionType instance |
Definition at line 188 of file NumericalSolution.f90.
|
privateinherited |
Save convergence summary to a File.
| this | NumericalSolutionType instance | |
| [in] | iu | file unit number for summary file |
| [in] | im | model number |
| [in] | itertot_timestep | total iteration for the time step |
Definition at line 206 of file NumericalSolution.f90.
|
privateinherited |
Save convergence summary to a comma-separated value file.
| this | NumericalSolutionType instance | |
| [in] | iu | file unit number |
| [in] | totim | total simulation time |
| [in] | kper | stress period number |
| [in] | kstp | time step number |
| [in] | kouter | number of outer (Picard) iterations |
| [in] | niter | number of inner iteration in this time step |
| [in] | istart | starting iteration number for this time step |
| [in] | kstart | starting position in the conv* arrays |
Definition at line 207 of file NumericalSolution.f90.
|
pure virtualinherited |
Definition at line 35 of file BaseSolution.f90.
|
inherited |
Finalize the solution. Called after the outer iteration loop.
| this | NumericalSolutionType instance | |
| [in] | kiter | Picard iteration number after convergence or failure |
| [in,out] | isgcnvg | solution group convergence flag |
| [in] | isuppress_output | flag for suppressing output |
Definition at line 215 of file NumericalSolution.f90.
|
inherited |
| this | NumericalSolutionType instance |
Definition at line 187 of file NumericalSolution.f90.
|
pure virtualinherited |
Definition at line 30 of file BaseSolution.f90.
|
inherited |
| this | instance of the numerical solution |
Definition at line 176 of file NumericalSolution.f90.
|
pure virtualinherited |
Definition at line 29 of file BaseSolution.f90.
|
inherited |
Returns a pointer to the list of models in this solution.
| this | NumericalSolutionType instance |
Definition at line 175 of file NumericalSolution.f90.
|
pure virtualinherited |
Definition at line 33 of file BaseSolution.f90.
|
inherited |
Prepare for the system solve by advancing the simulation.
| this | NumericalSolutionType instance |
Definition at line 213 of file NumericalSolution.f90.
|
pure virtualinherited |
Definition at line 21 of file BaseSolution.f90.
|
inherited |
Advance solution.
| this | NumericalSolutionType instance |
Definition at line 168 of file NumericalSolution.f90.
|
pure virtualinherited |
Definition at line 19 of file BaseSolution.f90.
|
inherited |
Allocate and read data for a solution.
| this | NumericalSolutionType instance |
Definition at line 166 of file NumericalSolution.f90.
|
privateinherited |
Perform backtracking on the solution in the maximum number of backtrack iterations (nbtrack) is greater than 0 and the backtracking criteria are exceeded.
| [in,out] | this | NumericalSolutionType instance |
| mp | model pointer (currently null()) | |
| cp | exchange pointer (currently null()) | |
| [in] | kiter | Picard iteration number |
Definition at line 197 of file NumericalSolution.f90.
|
inherited |
Backtracking update of the dependent variable if the calculated backtracking update exceeds the dependent variable closure criteria.
| [in,out] | this | NumericalSolutionType instance |
| [in,out] | bt_flag | backtracking flag (1) backtracking performed (0) backtracking not performed |
Definition at line 186 of file NumericalSolution.f90.
| procedure parallelsolutionmodule::parallelsolutiontype::sln_backtracking_xupdate | ( | class(parallelsolutiontype), intent(inout) | this, |
| integer(i4b), intent(inout) | bt_flag ) |
| [in,out] | this | ParallelSolutionType instance |
| [in,out] | bt_flag | global backtracking flag (1) backtracking performed (0) backtracking not performed |
Definition at line 29 of file ParallelSolution.f90.
|
privateinherited |
Definition at line 208 of file NumericalSolution.f90.
|
pure virtualinherited |
Definition at line 22 of file BaseSolution.f90.
|
inherited |
Solve the models in this solution for kper and kstp.
| this | NumericalSolutionType instance | |
| [in,out] | isgcnvg | solution group convergence flag |
| [in] | isuppress_output | flag for suppressing output |
Definition at line 170 of file NumericalSolution.f90.
|
inherited |
| this | NumericalSolutionType instance |
| iptc | PTC (1) or not (0) |
| ptcf | the PTC factor calculated |
Definition at line 184 of file NumericalSolution.f90.
| procedure parallelsolutionmodule::parallelsolutiontype::sln_calc_ptc | ( | class(parallelsolutiontype) | this, |
| integer(i4b) | iptc, | ||
| real(dp) | ptcf ) |
| this | parallel solution |
| iptc | PTC (1) or not (0) |
| ptcf | the (global) PTC factor calculated |
Definition at line 27 of file ParallelSolution.f90.
|
privateinherited |
| this | NumericalSolutionType instance |
| vec_resid | the residual vector |
Definition at line 199 of file NumericalSolution.f90.
|
privateinherited |
Calculate the dependent-variable change for every cell.
| [in,out] | this | NumericalSolutionType instance |
| [in] | neq | number of equations |
| [in] | active | active cell flag (1) |
| [in] | x | current dependent-variable |
| [in] | xtemp | previous dependent-variable |
| [in,out] | dx | dependent-variable change |
Definition at line 198 of file NumericalSolution.f90.
|
privateinherited |
Assign solution connections. This is the main workhorse method for a solution. The method goes through all the models and all the connections and builds up the sparse matrix. Steps are (1) add internal model connections, (2) add cross terms, (3) allocate solution arrays, (4) create mapping arrays, and (5) fill cross term values if necessary.
| this | NumericalSolutionType instance |
Definition at line 193 of file NumericalSolution.f90.
|
pure virtualinherited |
Definition at line 25 of file BaseSolution.f90.
|
inherited |
Deallocate a solution.
| this | NumericalSolutionType instance |
Definition at line 172 of file NumericalSolution.f90.
|
pure virtualinherited |
Definition at line 18 of file BaseSolution.f90.
|
inherited |
Define a new solution. Must be called after the models and exchanges have been added to solution. The order of the steps is (1) Allocate neq and nja, (2) Assign model offsets and solution ids, (3) Allocate and initialize the solution arrays, (4) Point each model's x and rhs arrays, and (5) Initialize the sparsematrix instance
| this | NumericalSolutionType instance |
Definition at line 165 of file NumericalSolution.f90.
|
pure virtualinherited |
Definition at line 20 of file BaseSolution.f90.
|
inherited |
Calculate time step length.
| this | NumericalSolutionType instance |
Definition at line 167 of file NumericalSolution.f90.
|
pure virtualinherited |
Definition at line 24 of file BaseSolution.f90.
|
inherited |
Finalize a solution.
| this | NumericalSolutionType instance |
Definition at line 171 of file NumericalSolution.f90.
|
privateinherited |
Determine the maximum dependent-variable change at the end of a Picard iteration.
| [in,out] | this | NumericalSolutionType instance |
| [in,out] | hncg | maximum dependent-variable change |
| [in,out] | lrch | location of the maximum dependent-variable change |
Definition at line 201 of file NumericalSolution.f90.
|
inherited |
| this | NumericalSolutionType instance |
Definition at line 189 of file NumericalSolution.f90.
| procedure parallelsolutionmodule::parallelsolutiontype::sln_get_idvscale | ( | class(parallelsolutiontype) | this | ) |
| this | ParallelSolutionType instance |
Definition at line 31 of file ParallelSolution.f90.
|
privateinherited |
Get the cell location string for the provided solution node number.
| [in,out] | this | NumericalSolutionType instance |
| [in] | nodesln | solution node number |
| [in,out] | str | string with user node number |
Definition at line 202 of file NumericalSolution.f90.
|
privateinherited |
Get the user node number from a model for the provided solution node number.
| [in,out] | this | NumericalSolutionType instance |
| [in] | nodesln | solution node number |
| [in,out] | im | solution model index (index in model list for this solution) |
| [in,out] | nodeu | user node number |
Definition at line 203 of file NumericalSolution.f90.
|
inherited |
| this | NumericalSolutionType instance |
| max_dvc | the maximum dependent variable change |
Definition at line 180 of file NumericalSolution.f90.
| procedure parallelsolutionmodule::parallelsolutiontype::sln_has_converged | ( | class(parallelsolutiontype) | this, |
| real(dp) | max_dvc ) |
| this | parallel solution |
| max_dvc | the LOCAL maximum dependent variable change |
Definition at line 23 of file ParallelSolution.f90.
|
privateinherited |
A = the linear system matrix x = the dependent variable vector b = the right-hand side vector
r = A * x - b
r_i = 0 if cell i is inactive L2norm = || r ||_2
| this | NumericalSolutionType instance |
| l2norm | calculated L-2 norm |
Definition at line 200 of file NumericalSolution.f90.
|
privateinherited |
Solve the linear system of equations. Steps include (1) matrix cleanup, (2) add pseudo-transient continuation terms, and (3) residual reduction.
| [in,out] | this | NumericalSolutionType instance |
Definition at line 195 of file NumericalSolution.f90.
|
inherited |
Return the maximum value in a vector using a normalized form.
| this | NumericalSolutionType instance | |
| [in] | nsize | length of vector |
| [in] | v | input vector |
| [in,out] | vmax | maximum value |
Definition at line 190 of file NumericalSolution.f90.
| procedure parallelsolutionmodule::parallelsolutiontype::sln_maxval | ( | class(parallelsolutiontype) | this, |
| integer(i4b), intent(in) | nsize, | ||
| real(dp), dimension(nsize), intent(in) | v, | ||
| real(dp), intent(inout) | vmax ) |
| this | ParallelSolutionType instance | |
| [in] | nsize | length of vector |
| [in] | v | input vector |
| [in,out] | vmax | maximum value |
Definition at line 30 of file ParallelSolution.f90.
|
inherited |
| this | NumericalSolutionType instance | |
| [in] | dxold_max | the maximum dependent variable change for unrelaxed cells |
| [in] | hncg | largest dep. var. change at end of Picard iteration |
Definition at line 183 of file NumericalSolution.f90.
| procedure parallelsolutionmodule::parallelsolutiontype::sln_nur_has_converged | ( | class(parallelsolutiontype) | this, |
| real(dp), intent(in) | dxold_max, | ||
| real(dp), intent(in) | hncg ) |
| this | parallel solution instance | |
| [in] | dxold_max | the maximum dependent variable change for cells not adjusted by NUR |
| [in] | hncg | largest dep. var. change at end of Picard iter. |
Definition at line 26 of file ParallelSolution.f90.
|
pure virtualinherited |
Definition at line 23 of file BaseSolution.f90.
|
inherited |
Output solution data. Currently does nothing.
| this | NumericalSolutionType instance |
Definition at line 169 of file NumericalSolution.f90.
|
inherited |
| this | NumericalSolutionType instance | |
| [in] | dpak | Newton Under-relaxation flag |
| [in] | cpakout | string with package that caused failure |
| [in] | iend | flag indicating if last inner iteration (iend=1) |
Definition at line 181 of file NumericalSolution.f90.
| procedure parallelsolutionmodule::parallelsolutiontype::sln_package_convergence | ( | class(parallelsolutiontype) | this, |
| real(dp), intent(in) | dpak, | ||
| character(len=lenpakloc), intent(in) | cpakout, | ||
| integer(i4b), intent(in) | iend ) |
| this | parallel solution instance | |
| [in] | dpak | Newton Under-relaxation flag |
Definition at line 24 of file ParallelSolution.f90.
|
privateinherited |
Reset the solution by setting the coefficient matrix and right-hand side vectors to zero.
| this | NumericalSolutionType instance |
Definition at line 194 of file NumericalSolution.f90.
|
privateinherited |
Set default Picard iteration variables based on passed complexity option.
| [in,out] | this | NumericalSolutionType instance |
| [in] | ifdparam | complexity option (1) simple (2) moderate (3) complex |
Definition at line 196 of file NumericalSolution.f90.
|
inherited |
| this | NumericalSolutionType instance | |
| [in] | inewtonur | Newton Under-relaxation flag |
Definition at line 182 of file NumericalSolution.f90.
| procedure parallelsolutionmodule::parallelsolutiontype::sln_sync_newtonur_flag | ( | class(parallelsolutiontype) | this, |
| integer(i4b), intent(in) | inewtonur ) |
| this | parallel solution instance | |
| [in] | inewtonur | local Newton Under-relaxation flag |
Definition at line 25 of file ParallelSolution.f90.
|
inherited |
Under relax using the simple, cooley, or delta-bar-delta methods.
| this | NumericalSolutionType instance | |
| [in] | kiter | Picard iteration number |
| [in] | bigch | maximum dependent-variable change |
| [in] | neq | number of equations |
| [in] | active | active cell flag (1) |
| [in,out] | x | current dependent-variable |
| [in] | xtemp | previous dependent-variable |
Definition at line 185 of file NumericalSolution.f90.
| procedure parallelsolutionmodule::parallelsolutiontype::sln_underrelax | ( | class(parallelsolutiontype) | this, |
| integer(i4b), intent(in) | kiter, | ||
| real(dp), intent(in) | bigch, | ||
| integer(i4b), intent(in) | neq, | ||
| integer(i4b), dimension(neq), intent(in) | active, | ||
| real(dp), dimension(neq), intent(inout) | x, | ||
| real(dp), dimension(neq), intent(in) | xtemp ) |
| this | parallel instance | |
| [in] | kiter | Picard iteration number |
| [in] | bigch | maximum dependent-variable change |
| [in] | neq | number of equations |
| [in] | active | active cell flag (1) |
| [in,out] | x | current dependent-variable |
| [in] | xtemp | previous dependent-variable |
Definition at line 28 of file ParallelSolution.f90.
|
pure virtualinherited |
Definition at line 34 of file BaseSolution.f90.
|
inherited |
Builds and solve the system for this numerical solution. It roughly consists of the following steps (1) backtracking, (2) reset amat and rhs (3) calculate matrix terms (*_cf), (4) add coefficients to matrix (*_fc), (6) newton-raphson, (6) PTC, (7) linear solve, (8) convergence checks, (9) write output, and (10) underrelaxation
| this | NumericalSolutionType instance | |
| [in] | kiter | Picard iteration number |
| [in] | isuppress_output | flag for suppressing output |
Definition at line 214 of file NumericalSolution.f90.
|
privateinherited |
Write header for solver output to comma-separated value files.
| this | NumericalSolutionType instance |
Definition at line 209 of file NumericalSolution.f90.
|
privateinherited |
Write header for pseudo-transient continuation information to a file.
| this | NumericalSolutionType instance | |
| [in] | kper | current stress period number |
Definition at line 210 of file NumericalSolution.f90.
|
inherited |
Definition at line 77 of file NumericalSolution.f90.
|
inherited |
Definition at line 83 of file NumericalSolution.f90.
|
inherited |
Definition at line 85 of file NumericalSolution.f90.
|
inherited |
Definition at line 148 of file NumericalSolution.f90.
|
inherited |
Definition at line 91 of file NumericalSolution.f90.
|
inherited |
Definition at line 90 of file NumericalSolution.f90.
|
inherited |
Definition at line 86 of file NumericalSolution.f90.
|
inherited |
Definition at line 87 of file NumericalSolution.f90.
|
inherited |
Definition at line 113 of file NumericalSolution.f90.
|
inherited |
Definition at line 121 of file NumericalSolution.f90.
|
inherited |
Definition at line 118 of file NumericalSolution.f90.
|
inherited |
Definition at line 117 of file NumericalSolution.f90.
|
inherited |
Definition at line 108 of file NumericalSolution.f90.
|
inherited |
Definition at line 126 of file NumericalSolution.f90.
|
inherited |
Definition at line 89 of file NumericalSolution.f90.
|
inherited |
Definition at line 107 of file NumericalSolution.f90.
|
inherited |
Definition at line 63 of file NumericalSolution.f90.
|
inherited |
Definition at line 60 of file NumericalSolution.f90.
|
inherited |
Definition at line 84 of file NumericalSolution.f90.
|
inherited |
Definition at line 110 of file NumericalSolution.f90.
|
inherited |
Definition at line 106 of file NumericalSolution.f90.
|
inherited |
Definition at line 129 of file NumericalSolution.f90.
|
inherited |
Definition at line 104 of file NumericalSolution.f90.
|
inherited |
Definition at line 95 of file NumericalSolution.f90.
|
inherited |
Definition at line 115 of file NumericalSolution.f90.
|
inherited |
Definition at line 114 of file NumericalSolution.f90.
|
inherited |
Definition at line 64 of file NumericalSolution.f90.
|
inherited |
Definition at line 145 of file NumericalSolution.f90.
|
inherited |
Definition at line 125 of file NumericalSolution.f90.
|
inherited |
Definition at line 151 of file NumericalSolution.f90.
|
inherited |
Definition at line 157 of file NumericalSolution.f90.
|
inherited |
Definition at line 97 of file NumericalSolution.f90.
|
inherited |
Definition at line 103 of file NumericalSolution.f90.
|
inherited |
Definition at line 130 of file NumericalSolution.f90.
|
inherited |
Definition at line 131 of file NumericalSolution.f90.
|
inherited |
Definition at line 68 of file NumericalSolution.f90.
|
inherited |
Definition at line 98 of file NumericalSolution.f90.
|
inherited |
Definition at line 96 of file NumericalSolution.f90.
|
inherited |
Definition at line 65 of file NumericalSolution.f90.
|
inherited |
Definition at line 132 of file NumericalSolution.f90.
|
inherited |
Definition at line 122 of file NumericalSolution.f90.
|
inherited |
Definition at line 71 of file NumericalSolution.f90.
|
inherited |
Definition at line 100 of file NumericalSolution.f90.
|
inherited |
Definition at line 105 of file NumericalSolution.f90.
|
inherited |
Definition at line 70 of file NumericalSolution.f90.
|
inherited |
Definition at line 59 of file NumericalSolution.f90.
|
inherited |
Definition at line 62 of file NumericalSolution.f90.
|
inherited |
Definition at line 99 of file NumericalSolution.f90.
|
inherited |
Definition at line 16 of file BaseSolution.f90.
|
inherited |
Definition at line 69 of file NumericalSolution.f90.
|
inherited |
Definition at line 116 of file NumericalSolution.f90.
|
inherited |
Definition at line 101 of file NumericalSolution.f90.
|
inherited |
Definition at line 102 of file NumericalSolution.f90.
|
inherited |
Definition at line 158 of file NumericalSolution.f90.
|
inherited |
Definition at line 79 of file NumericalSolution.f90.
|
inherited |
Definition at line 133 of file NumericalSolution.f90.
|
inherited |
Definition at line 134 of file NumericalSolution.f90.
|
inherited |
Definition at line 135 of file NumericalSolution.f90.
|
inherited |
Definition at line 92 of file NumericalSolution.f90.
|
inherited |
Definition at line 88 of file NumericalSolution.f90.
|
inherited |
Definition at line 94 of file NumericalSolution.f90.
|
inherited |
Definition at line 93 of file NumericalSolution.f90.
|
inherited |
Definition at line 75 of file NumericalSolution.f90.
|
inherited |
Definition at line 61 of file NumericalSolution.f90.
|
inherited |
Definition at line 154 of file NumericalSolution.f90.
|
inherited |
Definition at line 162 of file NumericalSolution.f90.
|
inherited |
Definition at line 161 of file NumericalSolution.f90.
|
inherited |
Definition at line 72 of file NumericalSolution.f90.
|
inherited |
Definition at line 82 of file NumericalSolution.f90.
| integer(i4b) parallelsolutionmodule::parallelsolutiontype::tmr_backtracking = -1 |
Definition at line 20 of file ParallelSolution.f90.
|
inherited |
Definition at line 144 of file NumericalSolution.f90.
| integer(i4b) parallelsolutionmodule::parallelsolutiontype::tmr_calcptc = -1 |
Definition at line 18 of file ParallelSolution.f90.
| integer(i4b) parallelsolutionmodule::parallelsolutiontype::tmr_convergence = -1 |
Definition at line 14 of file ParallelSolution.f90.
|
inherited |
Definition at line 140 of file NumericalSolution.f90.
|
inherited |
Definition at line 143 of file NumericalSolution.f90.
|
inherited |
Definition at line 141 of file NumericalSolution.f90.
|
inherited |
Definition at line 142 of file NumericalSolution.f90.
| integer(i4b) parallelsolutionmodule::parallelsolutiontype::tmr_nur_cnvg = -1 |
Definition at line 17 of file ParallelSolution.f90.
| integer(i4b) parallelsolutionmodule::parallelsolutiontype::tmr_pkg_cnvg = -1 |
Definition at line 15 of file ParallelSolution.f90.
|
inherited |
Definition at line 138 of file NumericalSolution.f90.
|
inherited |
Definition at line 139 of file NumericalSolution.f90.
| integer(i4b) parallelsolutionmodule::parallelsolutiontype::tmr_sync_nur = -1 |
Definition at line 16 of file ParallelSolution.f90.
| integer(i4b) parallelsolutionmodule::parallelsolutiontype::tmr_underrelax = -1 |
Definition at line 19 of file ParallelSolution.f90.
|
inherited |
Definition at line 66 of file NumericalSolution.f90.
|
inherited |
Definition at line 67 of file NumericalSolution.f90.
|
inherited |
Definition at line 73 of file NumericalSolution.f90.
|
inherited |
Definition at line 74 of file NumericalSolution.f90.
|
inherited |
Definition at line 109 of file NumericalSolution.f90.
|
inherited |
Definition at line 76 of file NumericalSolution.f90.
|
inherited |
Definition at line 78 of file NumericalSolution.f90.