Ewoms::FvBaseNewtonConvergenceWriter< TypeTag > Singleton Reference

Writes the intermediate solutions during the Newton scheme for models using a finite volume discretization. More...

#include <fvbasenewtonconvergencewriter.hh>

Public Member Functions

 FvBaseNewtonConvergenceWriter (NewtonMethod &nm)
 
 ~FvBaseNewtonConvergenceWriter ()
 
void beginTimeStep ()
 Called by the Newton method before the actual algorithm is started for any given timestep. More...
 
void beginIteration ()
 Called by the Newton method before an iteration of the Newton algorithm is started. More...
 
void writeFields (const SolutionVector &uLastIter, const GlobalEqVector &deltaU)
 Write the Newton update to disk. More...
 
void endIteration ()
 Called by the Newton method after an iteration of the Newton algorithm has been completed. More...
 
void endTimeStep ()
 Called by the Newton method after Newton algorithm has been completed for any given timestep. More...
 

Detailed Description

template<class TypeTag>
singleton Ewoms::FvBaseNewtonConvergenceWriter< TypeTag >

Writes the intermediate solutions during the Newton scheme for models using a finite volume discretization.

Constructor & Destructor Documentation

template<class TypeTag >
Ewoms::FvBaseNewtonConvergenceWriter< TypeTag >::FvBaseNewtonConvergenceWriter ( NewtonMethod nm)
inline
template<class TypeTag >
Ewoms::FvBaseNewtonConvergenceWriter< TypeTag >::~FvBaseNewtonConvergenceWriter ( )
inline

Member Function Documentation

template<class TypeTag >
void Ewoms::FvBaseNewtonConvergenceWriter< TypeTag >::beginIteration ( )
inline

Called by the Newton method before an iteration of the Newton algorithm is started.

References Ewoms::VtkMultiWriter< GridView, vtkFormat >::beginWrite(), and Ewoms::NewtonMethod< TypeTag >::problem().

template<class TypeTag >
void Ewoms::FvBaseNewtonConvergenceWriter< TypeTag >::beginTimeStep ( )
inline

Called by the Newton method before the actual algorithm is started for any given timestep.

template<class TypeTag >
void Ewoms::FvBaseNewtonConvergenceWriter< TypeTag >::endIteration ( )
inline

Called by the Newton method after an iteration of the Newton algorithm has been completed.

References Ewoms::VtkMultiWriter< GridView, vtkFormat >::endWrite().

template<class TypeTag >
void Ewoms::FvBaseNewtonConvergenceWriter< TypeTag >::endTimeStep ( )
inline

Called by the Newton method after Newton algorithm has been completed for any given timestep.

This method is called regardless of whether the Newton method converged or not.

template<class TypeTag >
void Ewoms::FvBaseNewtonConvergenceWriter< TypeTag >::writeFields ( const SolutionVector &  uLastIter,
const GlobalEqVector &  deltaU 
)
inline

Write the Newton update to disk.

Called after the linear solution is found for an iteration.

Parameters
uLastIterThe solution vector of the previous iteration.
deltaUThe negative difference between the solution vectors of the previous and the current iteration.

References Ewoms::NewtonMethod< TypeTag >::problem().


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