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

Bundles total residual and total change over all the grid points. More...

Detailed Description

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

Bundles total residual and total change over all the grid points.

In order to evaluate, how close the current solution is away from the convergence criterium.

See also
RedistancingSussman::get_residual_and_change_NB()

Definition at line 139 of file RedistancingSussman.hpp.

#include <RedistancingSussman.hpp>

Data Fields

phi_type change
 
phi_type residual
 
int count
 Integer variable that contains the number of points that could be assigned to the narrow band.
 

Field Documentation

◆ change

template<typename phi_type = double>
phi_type DistFromSol< phi_type >::change

Variable that contains the absolute value of the change of φ between the current iteration i and the previous iteration i-1:

\[ abs( \phi_i - \phi_{i-1} ) \]

It is computed for all grid points that lie within the narrow band and normalized to the number of grid points that lie in that narrow band.

Definition at line 141 of file RedistancingSussman.hpp.

◆ count

template<typename phi_type = double>
int DistFromSol< phi_type >::count

Integer variable that contains the number of points that could be assigned to the narrow band.

Definition at line 151 of file RedistancingSussman.hpp.

◆ residual

template<typename phi_type = double>
phi_type DistFromSol< phi_type >::residual

Variable that contains the absolute value of how far the gradient magnitude of the current φ of iteration number i is away from being equal to 1:

\[ abs(|\nabla\phi_i| - 1 ) \]

It is computed for all grid points that lie within the narrow band and normalized to the number of grid points that lie in that narrow band.

Definition at line 147 of file RedistancingSussman.hpp.


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