15 #include "libmesh/petsc_vector.h" 19 #include "libmesh/petsc_solver_exception.h" 26 params.
set<
bool>(
"use_legacy_material_output") =
false;
27 params.
set<
bool>(
"use_legacy_initial_residual_evaluation_behavior") =
false;
32 :
MooseApp(parameters), _ts(nullptr), _is_petsc_app(false)
static void registerApps()
ExternalPetscSolverApp(const InputParameters ¶meters)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
PETSC_EXTERN PetscErrorCode PETScExternalSolverCreate(MPI_Comm, TS *)
void ExternalPetscSolverApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
This is a demo used to demonstrate how to couple an external app through the MOOSE wrapper APP...
static InputParameters validParams()
PETSC_EXTERN PetscErrorCode PETScExternalSolverDestroy(TS)
static InputParameters validParams()
void ExternalPetscSolverApp__registerApps()
void libmesh_ignore(const Args &...)
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
Real f(Real x)
Test function for Brents method.
ActionFactory _action_factory
virtual ~ExternalPetscSolverApp()
const std::shared_ptr< libMesh::Parallel::Communicator > _comm