https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
}
Assembly.h
UserObject.h
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition
InputParameters.h:68
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
UserObjectBase
Definition
UserObjectBase.h:52
UserObjectBase::validParams
static InputParameters validParams()
Definition
UserObjectBase.C:18
UserObject
Base class for user-specific data.
Definition
UserObject.h:20
UserObject::validParams
static InputParameters validParams()
Definition
UserObject.C:14
UserObject::setPrimaryThreadCopy
void setPrimaryThreadCopy(UserObject *primary)
Definition
UserObject.C:29
UserObject::_primary_thread_copy
UserObject * _primary_thread_copy
Definition
UserObject.h:69
UserObject::UserObject
UserObject(const InputParameters ¶ms)
Definition
UserObject.C:23
Generated on Mon Aug 24 2026 19:02:15 for https://mooseframework.inl.gov by
1.9.8