https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
13#include "UniqueStorage.h"
14
15#include "libmesh/petsc_vector.h"
16
24{
25public:
28
29protected:
30 virtual std::unique_ptr<NumericVector<Number>> collectSnapshot() override;
34};
const InputParameters & parameters() const
Base class for storing and managing numerical data like solutions, residuals, and Jacobians.
This class is responsible for collecting solution vectors in one place.
static InputParameters validParams()
const MooseEnum _system_type
Enum to switch between collecting the solution vectors of auxiliary and nonlinear systems.
virtual std::unique_ptr< NumericVector< Number > > collectSnapshot() override
Clone the current snapshot vector.