libMesh::NoSolutionHistory Class Reference

For storing and retrieiving timestep data. More...

#include <no_solution_history.h>

Inheritance diagram for libMesh::NoSolutionHistory:

Public Member Functions

 NoSolutionHistory ()
 
virtual ~NoSolutionHistory ()
 
virtual void store () libmesh_override
 
virtual void retrieve () libmesh_override
 
virtual UniquePtr< SolutionHistoryclone () const libmesh_override
 
void set_overwrite_previously_stored (bool val)
 

Protected Attributes

bool overwrite_previously_stored
 

Detailed Description

For storing and retrieiving timestep data.

'Save nothing' subclass of Solution History, this is the default.

Author
Vikram Garg
Date
2012

Definition at line 34 of file no_solution_history.h.

Constructor & Destructor Documentation

libMesh::NoSolutionHistory::NoSolutionHistory ( )
inline

Constructor

Definition at line 41 of file no_solution_history.h.

Referenced by clone().

virtual libMesh::NoSolutionHistory::~NoSolutionHistory ( )
inlinevirtual

Destructor

Definition at line 46 of file no_solution_history.h.

References retrieve(), and store().

46 {}

Member Function Documentation

virtual UniquePtr<SolutionHistory > libMesh::NoSolutionHistory::clone ( ) const
inlinevirtual

Definition of the clone function needed for the setter function

Implements libMesh::SolutionHistory.

Definition at line 61 of file no_solution_history.h.

References NoSolutionHistory().

62  {
63  return UniquePtr<SolutionHistory >(new NoSolutionHistory());
64  }
void libMesh::NoSolutionHistory::retrieve ( )
virtual

Virtual function retrieve which we will be overriding

Implements libMesh::SolutionHistory.

Definition at line 14 of file no_solution_history.C.

Referenced by ~NoSolutionHistory().

15 {
16  // Nothing was stored, so nothing can be retrieved
17  libmesh_not_implemented();
18 }
void libMesh::SolutionHistory::set_overwrite_previously_stored ( bool  val)
inlineinherited

Turn on overwrite_previously_stored to overwrite any already-saved data encountered during subsequent store() calls

Definition at line 70 of file solution_history.h.

References libMesh::SolutionHistory::overwrite_previously_stored.

void libMesh::NoSolutionHistory::store ( )
virtual

Virtual function store which we will be overriding

Implements libMesh::SolutionHistory.

Definition at line 9 of file no_solution_history.C.

Referenced by ~NoSolutionHistory().

10 {
11  // Do nothing
12 }

Member Data Documentation

bool libMesh::SolutionHistory::overwrite_previously_stored
protectedinherited

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