libMesh::NoSolutionHistory Class Reference

For storing and retrieving timestep data. More...

#include <no_solution_history.h>

Inheritance diagram for libMesh::NoSolutionHistory:

Public Member Functions

 NoSolutionHistory ()
 
virtual ~NoSolutionHistory ()
 
virtual void store () override
 
virtual void retrieve () override
 
virtual std::unique_ptr< SolutionHistoryclone () const override
 
void set_overwrite_previously_stored (bool val)
 

Protected Attributes

bool overwrite_previously_stored
 

Detailed Description

For storing and retrieving timestep data.

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

Author
Vikram Garg
Date
2012

Definition at line 35 of file no_solution_history.h.

Constructor & Destructor Documentation

◆ NoSolutionHistory()

libMesh::NoSolutionHistory::NoSolutionHistory ( )
inline

Constructor

Definition at line 42 of file no_solution_history.h.

◆ ~NoSolutionHistory()

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

Destructor

Definition at line 47 of file no_solution_history.h.

47 {}

Member Function Documentation

◆ clone()

virtual std::unique_ptr<SolutionHistory > libMesh::NoSolutionHistory::clone ( ) const
inlineoverridevirtual

Definition of the clone function needed for the setter function

Implements libMesh::SolutionHistory.

Definition at line 62 of file no_solution_history.h.

63  {
64  return libmesh_make_unique<NoSolutionHistory>();
65  }

◆ retrieve()

void libMesh::NoSolutionHistory::retrieve ( )
overridevirtual

Virtual function retrieve which we will be overriding

Implements libMesh::SolutionHistory.

Definition at line 29 of file no_solution_history.C.

30 {
31  // Nothing was stored, so nothing can be retrieved
32  libmesh_not_implemented();
33 }

◆ set_overwrite_previously_stored()

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.

◆ store()

void libMesh::NoSolutionHistory::store ( )
overridevirtual

Virtual function store which we will be overriding

Implements libMesh::SolutionHistory.

Definition at line 24 of file no_solution_history.C.

25 {
26  // Do nothing
27 }

Member Data Documentation

◆ overwrite_previously_stored

bool libMesh::SolutionHistory::overwrite_previously_stored
protectedinherited

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