Public Member Functions | Private Attributes | List of all members
oomph::PicardConvergenceData Class Reference

Object that collates convergence data of Picard iteration. More...

#include <segregated_fsi_solver.h>

Public Member Functions

 PicardConvergenceData ()
 Constructor initialises all data. More...
 
 ~PicardConvergenceData ()
 Empty destructor. More...
 
unsigned & niter ()
 Number of iterations performed. More...
 
double & cpu_total ()
 Total CPU time for segregated solve. More...
 
double & essential_cpu_total ()
 Total essential CPU time for segregated solve (excluding any actions that merely doc the progress of the iteration, etc.) More...
 
double & cpu_for_global_residual ()
 CPU time for computation of global residual vectors Note: This time is contained in Total_CPU and is only used if convergence is based on the residual of the fully coupled system. More...
 
double & tol_achieved ()
 Final tolerance achieved by the iteration. More...
 
bool has_converged () const
 Flag to indicate if the solver has converged. More...
 
void set_solver_converged ()
 Set the flag to indicate that the solver has converged. More...
 
void set_solver_not_converged ()
 Set the flag to indicate that the solver has not converged. More...
 

Private Attributes

unsigned Niter
 Number of iterations performed. More...
 
double CPU_total
 Total CPU time for segregated solve. More...
 
double Essential_cpu_total
 Total essential CPU time for segregated solve (excluding any actions that merely doc the progress of the iteration, etc.) More...
 
double CPU_for_global_residual
 CPU time for computation of global residual vectors Note: This time is contained in Total_CPU and is only used if convergence is based on the residual of the fully coupled system. More...
 
double Tol_achieved
 Final tolerance achieved by the iteration. More...
 
bool Has_converged
 Flag to indicate if the solver has converged. More...
 

Detailed Description

Object that collates convergence data of Picard iteration.

Definition at line 45 of file segregated_fsi_solver.h.

Constructor & Destructor Documentation

oomph::PicardConvergenceData::PicardConvergenceData ( )
inline

Constructor initialises all data.

Definition at line 51 of file segregated_fsi_solver.h.

oomph::PicardConvergenceData::~PicardConvergenceData ( )
inline

Empty destructor.

Definition at line 57 of file segregated_fsi_solver.h.

Member Function Documentation

double& oomph::PicardConvergenceData::cpu_for_global_residual ( )
inline

CPU time for computation of global residual vectors Note: This time is contained in Total_CPU and is only used if convergence is based on the residual of the fully coupled system.

Definition at line 74 of file segregated_fsi_solver.h.

References CPU_for_global_residual.

Referenced by oomph::SegregatableFSIProblem::segregated_solve().

double& oomph::PicardConvergenceData::cpu_total ( )
inline

Total CPU time for segregated solve.

Definition at line 63 of file segregated_fsi_solver.h.

References CPU_total.

Referenced by oomph::SegregatableFSIProblem::segregated_solve().

double& oomph::PicardConvergenceData::essential_cpu_total ( )
inline

Total essential CPU time for segregated solve (excluding any actions that merely doc the progress of the iteration, etc.)

Definition at line 68 of file segregated_fsi_solver.h.

References Essential_cpu_total.

Referenced by oomph::SegregatableFSIProblem::segregated_solve().

bool oomph::PicardConvergenceData::has_converged ( ) const
inline

Flag to indicate if the solver has converged.

Definition at line 80 of file segregated_fsi_solver.h.

References Has_converged.

unsigned& oomph::PicardConvergenceData::niter ( )
inline

Number of iterations performed.

Definition at line 60 of file segregated_fsi_solver.h.

References Niter.

Referenced by oomph::SegregatableFSIProblem::segregated_solve().

void oomph::PicardConvergenceData::set_solver_converged ( )
inline

Set the flag to indicate that the solver has converged.

Definition at line 83 of file segregated_fsi_solver.h.

References Has_converged.

Referenced by oomph::SegregatableFSIProblem::segregated_solve().

void oomph::PicardConvergenceData::set_solver_not_converged ( )
inline

Set the flag to indicate that the solver has not converged.

Definition at line 86 of file segregated_fsi_solver.h.

References Has_converged.

double& oomph::PicardConvergenceData::tol_achieved ( )
inline

Final tolerance achieved by the iteration.

Definition at line 77 of file segregated_fsi_solver.h.

References Tol_achieved.

Referenced by oomph::SegregatableFSIProblem::segregated_solve().

Member Data Documentation

double oomph::PicardConvergenceData::CPU_for_global_residual
private

CPU time for computation of global residual vectors Note: This time is contained in Total_CPU and is only used if convergence is based on the residual of the fully coupled system.

Definition at line 105 of file segregated_fsi_solver.h.

Referenced by cpu_for_global_residual().

double oomph::PicardConvergenceData::CPU_total
private

Total CPU time for segregated solve.

Definition at line 94 of file segregated_fsi_solver.h.

Referenced by cpu_total().

double oomph::PicardConvergenceData::Essential_cpu_total
private

Total essential CPU time for segregated solve (excluding any actions that merely doc the progress of the iteration, etc.)

Definition at line 99 of file segregated_fsi_solver.h.

Referenced by essential_cpu_total().

bool oomph::PicardConvergenceData::Has_converged
private

Flag to indicate if the solver has converged.

Definition at line 111 of file segregated_fsi_solver.h.

Referenced by has_converged(), set_solver_converged(), and set_solver_not_converged().

unsigned oomph::PicardConvergenceData::Niter
private

Number of iterations performed.

Definition at line 91 of file segregated_fsi_solver.h.

Referenced by niter().

double oomph::PicardConvergenceData::Tol_achieved
private

Final tolerance achieved by the iteration.

Definition at line 108 of file segregated_fsi_solver.h.

Referenced by tol_achieved().


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