https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ExternalPetscSolverTestApp.C
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
11#include "Moose.h"
12#include "AppFactory.h"
13#include "MooseSyntax.h"
14
21
28
30
31void
33 ActionFactory & af,
34 Syntax & s,
35 bool use_test_objs)
36{
38 if (use_test_objs)
39 {
40 Registry::registerObjectsTo(f, {"ExternalPetscSolverTestApp"});
41 Registry::registerActionsTo(af, {"ExternalPetscSolverTestApp"});
42 }
43}
44
45void
51
52/***************************************************************************************************
53 *********************** Dynamic Library Entry Points - DO NOT MODIFY ******************************
54 **************************************************************************************************/
55// External entry point for dynamic application loading
56extern "C" void
61extern "C" void
Real f(Real x)
Test function for Brents method.
void ExternalPetscSolverTestApp__registerApps()
void ExternalPetscSolverTestApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
This is a demo used to demonstrate how to couple an external app through the MOOSE wrapper APP.
static InputParameters validParams()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static InputParameters validParams()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s, bool use_test_objs=false)
ExternalPetscSolverTestApp(const InputParameters &parameters)
ActionFactory _action_factory
Factory _factory
Syntax _syntax
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)