ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
LBWalberlaNodeState.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2021-2023 The ESPResSo project
3
*
4
* This file is part of ESPResSo.
5
*
6
* ESPResSo is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* ESPResSo is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#pragma once
21
22
#include <
utils/Vector.hpp
>
23
24
#include <boost/serialization/access.hpp>
25
26
#include <vector>
27
28
/** Checkpoint data for a LB node. */
29
struct
LBWalberlaNodeState
{
30
std::vector<double>
populations
;
31
Utils::Vector3d
last_applied_force
;
32
Utils::Vector3d
slip_velocity
;
33
bool
is_boundary
;
34
35
private
:
36
friend
boost::serialization::access;
37
template
<
typename
Archive>
38
void
serialize(Archive &ar,
unsigned
int
/* version */
) {
39
ar &
populations
&
last_applied_force
&
slip_velocity
&
is_boundary
;
40
}
41
};
Vector.hpp
Vector implementation and trait types for boost qvm interoperability.
Utils::Vector
Definition
Vector.hpp:48
LBWalberlaNodeState
Checkpoint data for a LB node.
Definition
LBWalberlaNodeState.hpp:29
LBWalberlaNodeState::last_applied_force
Utils::Vector3d last_applied_force
Definition
LBWalberlaNodeState.hpp:31
LBWalberlaNodeState::is_boundary
bool is_boundary
Definition
LBWalberlaNodeState.hpp:33
LBWalberlaNodeState::populations
std::vector< double > populations
Definition
LBWalberlaNodeState.hpp:30
LBWalberlaNodeState::slip_velocity
Utils::Vector3d slip_velocity
Definition
LBWalberlaNodeState.hpp:32
src
script_interface
walberla
LBWalberlaNodeState.hpp
Generated on Fri Nov 22 2024 02:13:55 for ESPResSo by
1.9.8