https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ResolveOptionalMaterialPropertiesAction.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
12#include "MooseApp.h"
13
16 "resolve_optional_materials");
17
24
30
31void
33{
34 mooseAssert(_problem, "Problem doesn't exist");
35
37 mpi->resolveOptionalProperties();
38}
registerMooseAction("MooseApp", ResolveOptionalMaterialPropertiesAction, "resolve_optional_materials")
Base class for actions.
Definition Action.h:38
static InputParameters validParams()
Definition Action.C:26
MooseApp & _app
The MOOSE application this is associated with.
Definition MooseBase.h:375
std::shared_ptr< FEProblemBase > & _problem
Convenience reference to a problem this action works on.
Definition Action.h:178
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
An interface for accessing Materials.
const std::vector< T * > & getInterfaceObjects() const
Gets the registered interface objects for a given interface.
Definition MooseApp.h:1801
This action acts right after all material objects have been constructed.
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.