hemocell
Loading...
Searching...
No Matches
hemoCellStretch.h
Go to the documentation of this file.
1/*
2This file is part of the HemoCell library
3
4HemoCell is developed and maintained by the Computational Science Lab
5in the University of Amsterdam. Any questions or remarks regarding this library
6can be sent to: info@hemocell.eu
7
8When using the HemoCell library in scientific work please cite the
9corresponding paper: https://doi.org/10.3389/fphys.2017.00563
10
11The HemoCell library is free software: you can redistribute it and/or
12modify it under the terms of the GNU Affero General Public License as
13published by the Free Software Foundation, either version 3 of the
14License, or (at your option) any later version.
15
16The library is distributed in the hope that it will be useful,
17but WITHOUT ANY WARRANTY; without even the implied warranty of
18MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19GNU Affero General Public License for more details.
20
21You should have received a copy of the GNU Affero General Public License
22along with this program. If not, see <http://www.gnu.org/licenses/>.
23*/
24#ifndef HEMOCELLSTRETCH_H
25#define HEMOCELLSTRETCH_H
26
27#include "hemoCellFields.h"
28#include "hemoCellFunctional.h"
29
30namespace hemo {
31
33 public:
34
35 HemoCellStretch(HemoCellField & cellfield_, unsigned int n_forced_lsps_, T external_force_);
36 void applyForce();
37
39 void processGenericBlocks(Box3D, std::vector<AtomicBlock3D*>);
40 FindForcedLsps * clone() const;
41 };
42
44 void processGenericBlocks(Box3D, std::vector<AtomicBlock3D*>);
45 ForceForcedLsps * clone() const;
46 };
47
48 //Vertex id of lsps
49 static vector<plint> lower_lsps;
50 static vector<plint> upper_lsps;
51
53 static unsigned int n_forced_lsps;
55 static T scale;
56};
57}
58#endif
Definition hemoCellField.h:42
Definition hemoCellFunctional.h:36
Definition hemoCellStretch.h:38
FindForcedLsps * clone() const
Definition hemoCellStretch.cpp:28
void processGenericBlocks(Box3D, std::vector< AtomicBlock3D * >)
Definition hemoCellStretch.cpp:30
Definition hemoCellStretch.h:43
void processGenericBlocks(Box3D, std::vector< AtomicBlock3D * >)
Definition hemoCellStretch.cpp:63
ForceForcedLsps * clone() const
Definition hemoCellStretch.cpp:61
Definition hemoCellStretch.h:32
static T scale
Definition hemoCellStretch.h:55
static T external_force
Definition hemoCellStretch.h:54
static unsigned int n_forced_lsps
Definition hemoCellStretch.h:53
HemoCellField & cellfield
Definition hemoCellStretch.h:52
static vector< plint > upper_lsps
Definition hemoCellStretch.h:50
static vector< plint > lower_lsps
Definition hemoCellStretch.h:49
void applyForce()
Definition hemoCellStretch.cpp:102
double T
Definition constant_defaults.h:118
Definition config.cpp:34