Line data Source code
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 "LinearSystem.h" 13 : 14 : namespace libMesh 15 : { 16 : template <typename T> 17 : class NumericVector; 18 : } 19 : 20 : /** 21 : * Linear system for dumping objects 22 : * TODO: consider creating a base class for LinearSystems to be able to create a more minimal linear 23 : * system. For now the additional code complexity is not worth it 24 : */ 25 : class DumpObjectsLinearSystem : public LinearSystem 26 : { 27 : public: 28 : DumpObjectsLinearSystem(FEProblemBase & problem, const std::string & name); 29 : 30 0 : virtual void solve() override {} 31 0 : virtual void stopSolve(const ExecFlagType &, const std::set<TagID> &) override {} 32 0 : virtual bool converged() override { return true; } 33 : 34 : protected: 35 : NumericVector<Number> * _dummy; 36 : };