https://mooseframework.inl.gov
Loading...
Searching...
No Matches
src
utils
VectorTag.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 "
VectorTag.h
"
11
12
VectorTag::VectorTag
()
13
: _id(
Moose
::INVALID_TAG_ID),
14
_type_id(
Moose
::INVALID_TAG_TYPE_ID),
15
_name(
""
),
16
_type(
Moose
::VECTOR_TAG_ANY)
17
{
18
}
19
20
VectorTag::VectorTag
(
const
TagID
id
,
21
const
TagTypeID
type_id,
22
const
TagName name,
23
const
Moose::VectorTagType
type)
24
: _id(id), _type_id(type_id), _name(name), _type(type)
25
{
26
}
27
28
bool
29
VectorTag::operator==
(
const
VectorTag
& other)
const
30
{
31
return
_id
== other.
_id
&&
_type_id
== other.
_type_id
&&
_name
== other.
_name
&&
32
_type
== other.
_type
;
33
}
TagID
unsigned int TagID
Definition
MooseTypes.h:238
TagTypeID
unsigned int TagTypeID
Definition
MooseTypes.h:239
VectorTag.h
VectorTag
Storage for all of the information pretaining to a vector tag.
Definition
VectorTag.h:18
VectorTag::_id
TagID _id
The id associated with the vector tag.
Definition
VectorTag.h:30
VectorTag::VectorTag
VectorTag()
Definition
VectorTag.C:12
VectorTag::_type
Moose::VectorTagType _type
The type of the vector tag.
Definition
VectorTag.h:53
VectorTag::_name
TagName _name
The name of the vector tag.
Definition
VectorTag.h:50
VectorTag::_type_id
TagTypeID _type_id
The index for this tag into a vector that contains tags of only its type ordered by ID.
Definition
VectorTag.h:47
VectorTag::operator==
bool operator==(const VectorTag &other) const
Definition
VectorTag.C:29
Moose
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
Definition
SetAdaptivityOptionsAction.h:15
Moose::VectorTagType
VectorTagType
Definition
MooseTypes.h:1033
Generated on Fri Aug 21 2026 13:34:01 for https://mooseframework.inl.gov by
1.9.8