OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
Conv_tol_residual< phi_type > Struct Template Reference

Optional convergence criterium checking the residual. More...

Detailed Description

template<typename phi_type = double>
struct Conv_tol_residual< phi_type >

Optional convergence criterium checking the residual.

If Conv_tol_residual.check = true, the residual, that is abs(magnitude gradient of phi - 1), is considered and the redistancing finishes when the Conv_tol_residual.value (or the max-iteration) is reached.

Definition at line 75 of file RedistancingSussman.hpp.

#include <RedistancingSussman.hpp>

Data Fields

bool check = true
 
phi_type value = 1e-3
 

Field Documentation

◆ check

template<typename phi_type = double>
bool Conv_tol_residual< phi_type >::check = true

If true, the residual of Phi (see DistFromSol::residual) is considered and the redistancing finishes when the Conv_tol_residual.value (or the max-iteration) is reached. If false, the change is not considered as steady-state criterion. Default: true.

Definition at line 77 of file RedistancingSussman.hpp.

◆ value

template<typename phi_type = double>
phi_type Conv_tol_residual< phi_type >::value = 1e-3

Variable that stores the tolerance value for the residual at which the iterative redistancing process is considered as steady-state. (see also DistFromSol::residual)

Definition at line 80 of file RedistancingSussman.hpp.


The documentation for this struct was generated from the following file: