https://mooseframework.inl.gov
Loading...
Searching...
No Matches
GeneralUserObject.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 "GeneralUserObject.h"
11
20
22 : UserObject(parameters),
23 ScalarCoupleable(this),
24 MaterialPropertyInterface(this, Moose::EMPTY_BLOCK_IDS, Moose::EMPTY_BOUNDARY_IDS),
26{
27}
28
29void
31{
32 mooseError("GeneralUserObjects do not execute using threads, this function does nothing and "
33 "should not be used.");
34}
35
36void
38{
39 mooseError("GeneralUserObjects do not execute subdomainSetup method, this function does nothing "
40 "and should not be used.");
41}
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
Definition MooseError.h:311
virtual void subdomainSetup() override
Gets called when the subdomain changes (i.e.
static InputParameters validParams()
GeneralUserObject(const InputParameters &parameters)
virtual void threadJoin(const UserObject &) override
This method is not used and should not be used in a custom GeneralUserObject.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
An interface for accessing Materials.
static InputParameters validParams()
Interface for objects that needs scalar coupling capabilities.
Interface for objects that needs transient capabilities.
Base class for user-specific data.
Definition UserObject.h:20
static InputParameters validParams()
Definition UserObject.C:14
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...