ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
oif_global_forces_params.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2012-2026 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
/** Parameters for OIF global forces
23
*
24
* Characterize the distribution of the force of the global mesh deformation
25
* onto individual vertices of the mesh.
26
*/
27
struct
OifGlobalForcesBond
{
28
/** Relaxed area of the mesh */
29
double
A0_g
;
30
/** Area coefficient */
31
double
ka_g
;
32
/** Relaxed volume of the mesh */
33
double
V0
;
34
/** Volume coefficient */
35
double
kv
;
36
37
double
cutoff
()
const
{
return
0.; }
38
39
static
constexpr
int
num
= 2;
40
41
OifGlobalForcesBond
(
double
A0_g
,
double
ka_g
,
double
V0
,
double
kv
) {
42
this->ka_g =
ka_g
;
43
this->A0_g =
A0_g
;
44
this->V0 =
V0
;
45
this->kv =
kv
;
46
}
47
};
OifGlobalForcesBond::V0
double V0
Relaxed volume of the mesh.
Definition
oif_global_forces_params.hpp:33
OifGlobalForcesBond::cutoff
double cutoff() const
Definition
oif_global_forces_params.hpp:37
OifGlobalForcesBond::OifGlobalForcesBond
OifGlobalForcesBond(double A0_g, double ka_g, double V0, double kv)
Definition
oif_global_forces_params.hpp:41
OifGlobalForcesBond::ka_g
double ka_g
Area coefficient.
Definition
oif_global_forces_params.hpp:31
OifGlobalForcesBond::num
static constexpr int num
Definition
oif_global_forces_params.hpp:39
OifGlobalForcesBond::kv
double kv
Volume coefficient.
Definition
oif_global_forces_params.hpp:35
OifGlobalForcesBond::A0_g
double A0_g
Relaxed area of the mesh.
Definition
oif_global_forces_params.hpp:29
src
core
object-in-fluid
oif_global_forces_params.hpp
Generated on
for ESPResSo by
1.15.0