https://mooseframework.inl.gov
SolutionContainer.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "SnapshotContainerBase.h"
13 #include "UniqueStorage.h"
14 
15 #include "libmesh/petsc_vector.h"
16 
24 {
25 public:
28 
29 protected:
30  virtual std::unique_ptr<NumericVector<Number>> collectSnapshot() override;
34 };
static InputParameters validParams()
const MooseEnum _system_type
Enum to switch between collecting the solution vectors of auxiliary and nonlinear systems...
Base class for storing and managing numerical data like solutions, residuals, and Jacobians...
SolutionContainer(const InputParameters &parameters)
virtual std::unique_ptr< NumericVector< Number > > collectSnapshot() override
Clone the current snapshot vector.
const InputParameters & parameters() const
This class is responsible for collecting solution vectors in one place.