https://mooseframework.inl.gov
Loading...
Searching...
No Matches
XFEMApp.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
10#include "XFEMApp.h"
11#include "XFEMAppTypes.h"
12#include "SolidMechanicsApp.h"
13#include "Moose.h"
14#include "AppFactory.h"
15#include "MooseSyntax.h"
16
19{
21
22 params.set<bool>("automatic_automatic_scaling") = false;
23 params.set<bool>("use_legacy_material_output") = false;
24 params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false;
25
26 return params;
27}
29
30XFEMApp::XFEMApp(const InputParameters & parameters) : MooseApp(parameters)
31{
32 srand(processor_id());
34}
35
37
38void
40{
41 Registry::registerObjectsTo(f, {"XFEMApp"});
42 Registry::registerActionsTo(af, {"XFEMApp"});
43
44 registerTask("setup_xfem", false);
45 syntax.addDependency("setup_xfem", "setup_adaptivity");
46 registerSyntax("XFEMAction", "XFEM");
47
49}
50
51void
58
59extern "C" void
64extern "C" void
Real f(Real x)
Test function for Brents method.
void XFEMApp__registerApps()
Definition XFEMApp.C:65
registerKnownLabel("XFEMApp")
void XFEMApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition XFEMApp.C:60
T & set(const std::string &name, bool quiet_mode=false)
processor_id_type processor_id() const
Syntax & syntax()
ActionFactory _action_factory
static InputParameters validParams()
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)
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerApps()
void addDependency(const std::string &task, const std::string &pre_req)
XFEMApp(const InputParameters &parameters)
Definition XFEMApp.C:30
virtual ~XFEMApp()
Definition XFEMApp.C:36
static void registerApps()
Definition XFEMApp.C:52
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition XFEMApp.C:39
static InputParameters validParams()
Definition XFEMApp.C:18