www.mooseframework.org
ExternalPetscSolverApp.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "MooseApp.h"
13 
21 {
22 public:
24 
26  virtual ~ExternalPetscSolverApp();
27 
28  static void registerApps();
29  static void registerAll(Factory & f, ActionFactory & af, Syntax & s);
30 
31  TS & getPetscTS();
32 
33  bool isPetscApp() const { return _is_petsc_app; }
34 
35 private:
36  TS _ts;
38 };
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
InputParameters & parameters()
This is a demo used to demonstrate how to couple an external app through the MOOSE wrapper APP...
static InputParameters validParams()
Real f(Real x)
Test function for Brents method.
ExternalPetscSolverApp(InputParameters parameters)