https://mooseframework.inl.gov
src
userobjects
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
13
InputParameters
14
UserObject::validParams
()
15
{
16
InputParameters
params =
UserObjectBase::validParams
();
17
18
params.
registerSystemAttributeName
(
"UserObject"
);
19
20
return
params;
21
}
22
23
UserObject::UserObject
(
const
InputParameters
& parameters)
24
:
UserObjectBase
(parameters), _coord_sys(_assembly.coordSystem())
25
{
26
}
27
28
void
29
UserObject::setPrimaryThreadCopy
(
UserObject
* primary)
30
{
31
if
(!
_primary_thread_copy
&& primary !=
this
)
32
_primary_thread_copy
= primary;
33
}
UserObject::setPrimaryThreadCopy
void setPrimaryThreadCopy(UserObject *primary)
Definition:
UserObject.C:29
UserObjectBase::validParams
static InputParameters validParams()
Definition:
UserObjectBase.C:18
UserObject::_primary_thread_copy
UserObject * _primary_thread_copy
Definition:
UserObject.h:69
UserObjectBase
Definition:
UserObjectBase.h:37
InputParameters::registerSystemAttributeName
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...
Definition:
InputParameters.C:514
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Definition:
InputParameters.h:67
UserObject.h
Assembly.h
UserObject::UserObject
UserObject(const InputParameters ¶ms)
Definition:
UserObject.C:23
UserObject
Base class for user-specific data.
Definition:
UserObject.h:19
UserObject::validParams
static InputParameters validParams()
Definition:
UserObject.C:14
Generated on Sun Jun 21 2026 21:27:05 for https://mooseframework.inl.gov by
1.8.14