suanPan
🧮 An Open Source, Parallel and Heterogeneous Finite Element Analysis Framework
Loading...
Searching...
No Matches
Group.h
Go to the documentation of this file.
1
/*******************************************************************************
2
* Copyright (C) 2017-2026 Theodore Chang
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
******************************************************************************/
29
#ifndef GROUP_H
30
#define GROUP_H
31
32
#include <
Domain/Tag.h
>
33
34
class
DomainBase
;
35
36
class
Group
:
public
UniqueTag
{
37
protected
:
38
uvec
pool
;
39
40
public
:
41
explicit
Group
(
unsigned
);
42
Group
(
unsigned
,
uvec
&&);
43
44
virtual
void
initialize
(
const
shared_ptr<DomainBase>&);
45
46
[[nodiscard]]
const
uvec
&
get_pool
()
const
;
47
48
void
print
()
override
;
49
};
50
51
#endif
52
Tag.h
DomainBase
The DomainBase class is a template.
Definition
DomainBase.h:94
Group
The Group class.
Definition
Group.h:36
Group::print
void print() override
Definition
Group.cpp:31
Group::get_pool
const uvec & get_pool() const
Definition
Group.cpp:29
Group::initialize
virtual void initialize(const shared_ptr< DomainBase > &)
Definition
Group.cpp:27
Group::pool
uvec pool
Definition
Group.h:38
UniqueTag
Label objects that cannot be copied.
Definition
Tag.h:88
uvec
Domain
Group
Group.h
Generated by
1.9.8