hemocell
Loading...
Searching...
No Matches
wbcHighOrderModel.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 HEMOCELL_WBCHIGHORDERMODEL_H
25#define HEMOCELL_WBCHIGHORDERMODEL_H
26
27#include "config.h"
28#include "cellMechanics.h"
29#include "hemoCellField.h"
30#include "constant_defaults.h"
31
32namespace hemo {
34public:
35 //Variables
37 const T k_volume;
38 const T k_area;
39 const T k_link;
40 const T k_bend;
41 const T eta_m;
45 const T radius;
46
47public:
48 WbcHighOrderModel(Config & modelCfg_, HemoCellField & cellField_);
49
50 void ParticleMechanics(std::map<plint, std::vector<HemoCellParticle *>> & particles_per_cell,
51 const std::map<plint, bool> & lpc, size_t ctype) override;
52
53 void statistics() override;
54
56 static T calculate_radius(Config & cfg);
59};
60}
61#endif
Definition cellMechanics.h:37
Config & cfg
Definition cellMechanics.h:40
Definition config.h:91
Definition hemoCellField.h:42
Definition wbcHighOrderModel.h:33
static T calculate_coreRadius(Config &cfg)
Definition wbcHighOrderModel.cpp:278
static T calculate_radius(Config &cfg)
Definition wbcHighOrderModel.cpp:283
static T calculate_kCytoskeleton(Config &cfg)
Definition wbcHighOrderModel.cpp:273
static T calculate_kInnerRigid(Config &cfg)
Definition wbcHighOrderModel.cpp:267
void statistics() override
Definition wbcHighOrderModel.cpp:251
HemoCellField & cellField
Definition wbcHighOrderModel.h:36
const T k_link
Definition wbcHighOrderModel.h:39
const T core_radius
Definition wbcHighOrderModel.h:44
const T k_cytoskeleton
Definition wbcHighOrderModel.h:43
const T k_volume
Definition wbcHighOrderModel.h:37
const T k_bend
Definition wbcHighOrderModel.h:40
const T radius
Definition wbcHighOrderModel.h:45
void ParticleMechanics(std::map< plint, std::vector< HemoCellParticle * > > &particles_per_cell, const std::map< plint, bool > &lpc, size_t ctype) override
Definition wbcHighOrderModel.cpp:44
const T k_area
Definition wbcHighOrderModel.h:38
const T eta_m
Definition wbcHighOrderModel.h:41
const T k_inner_rigid
Definition wbcHighOrderModel.h:42
double T
Definition constant_defaults.h:137
long int plint
Definition constant_defaults.h:149
Definition config.cpp:37