libMesh
Public Member Functions | Protected Attributes | List of all members
libMesh::NoSolutionHistory Class Reference

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

#include <no_solution_history.h>

Inheritance diagram for libMesh::NoSolutionHistory:
[legend]

Public Member Functions

 NoSolutionHistory ()
 Constructor. More...
 
virtual ~NoSolutionHistory ()
 Destructor. More...
 
virtual void store () override
 Virtual function store which we will be overriding. More...
 
virtual void retrieve () override
 Virtual function retrieve which we will be overriding. More...
 
virtual std::unique_ptr< SolutionHistoryclone () const override
 Definition of the clone function needed for the setter function. More...
 
void set_overwrite_previously_stored (bool val)
 Turn on overwrite_previously_stored to overwrite any already-saved data encountered during subsequent store() calls. More...
 

Protected Attributes

bool overwrite_previously_stored
 

Detailed Description

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

Author
Vikram Garg
Date
2012 For storing and retrieving timestep data.

Definition at line 35 of file no_solution_history.h.

Constructor & Destructor Documentation

◆ NoSolutionHistory()

libMesh::NoSolutionHistory::NoSolutionHistory ( )

Constructor.

Definition at line 42 of file no_solution_history.h.

42 : SolutionHistory() {}
SolutionHistory()
Constructor.

◆ ~NoSolutionHistory()

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

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
overridevirtual

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()

virtual void libMesh::NoSolutionHistory::retrieve ( )
overridevirtual

Virtual function retrieve which we will be overriding.

Implements libMesh::SolutionHistory.

◆ set_overwrite_previously_stored()

void libMesh::SolutionHistory::set_overwrite_previously_stored ( bool  val)
inherited

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()

virtual void libMesh::NoSolutionHistory::store ( )
overridevirtual

Virtual function store which we will be overriding.

Implements libMesh::SolutionHistory.

Member Data Documentation

◆ overwrite_previously_stored

bool libMesh::SolutionHistory::overwrite_previously_stored
protectedinherited

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