https://mooseframework.inl.gov
Loading...
Searching...
No Matches
UserObject.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 "UserObject.h"
11#include "Assembly.h"
12
15{
17
18 params.registerSystemAttributeName("UserObject");
19
20 return params;
21}
22
24 : UserObjectBase(parameters), _coord_sys(_assembly.coordSystem())
25{
26}
27
28void
30{
31 if (!_primary_thread_copy && primary != this)
32 _primary_thread_copy = primary;
33}
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
void registerSystemAttributeName(const std::string &value)
This method is used to define the MOOSE system name that is used by the TheWarehouse object for stori...
static InputParameters validParams()
Base class for user-specific data.
Definition UserObject.h:20
static InputParameters validParams()
Definition UserObject.C:14
void setPrimaryThreadCopy(UserObject *primary)
Definition UserObject.C:29
UserObject * _primary_thread_copy
Definition UserObject.h:69
UserObject(const InputParameters &params)
Definition UserObject.C:23