suanPan
Loading...
Searching...
No Matches
Group.h
Go to the documentation of this file.
1/*******************************************************************************
2 * Copyright (C) 2017-2025 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
34class DomainBase;
35
36class Group : public UniqueTag {
37protected:
38 uvec pool;
39
40public:
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
The DomainBase class is a template.
Definition DomainBase.h:102
The Group class.
Definition Group.h:36
void print() override
Definition Group.cpp:31
const uvec & get_pool() const
Definition Group.cpp:29
virtual void initialize(const shared_ptr< DomainBase > &)
Definition Group.cpp:27
uvec pool
Definition Group.h:38
Definition Tag.h:77