hemocell
Loading...
Searching...
No Matches
pltSimpleModel.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_PLTSIMPLEMODEL_H
25#define HEMOCELL_PLTSIMPLEMODEL_H
26
27#include "config.h"
28#include "cellMechanics.h"
29#include "constant_defaults.h"
30#include "hemoCellField.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;
42
43 //Constructor
44public:
45 PltSimpleModel(Config & modelCfg_, HemoCellField & cellField_);
46
47 void ParticleMechanics(std::map<plint, std::vector<HemoCellParticle *>> & particles_per_cell,
48 const std::map<plint, bool> & lpc, pluint ctype) override;
49#ifdef SOLIDIFY_MECHANICS
50 void solidifyMechanics(const std::map<plint, std::vector<int>> &, std::vector<HemoCellParticle> &,
51 plb::BlockLattice3D<T, DESCRIPTOR> *, plb::BlockLattice3D<T, CEPAC_DESCRIPTOR> *, pluint ctype,
52 HemoCellParticleField &) override;
53#endif
54 void statistics() override;
55};
56}
57#endif
Definition cellMechanics.h:37
virtual void solidifyMechanics(const std::map< plint, std::vector< int > > &, std::vector< HemoCellParticle > &, plb::BlockLattice3D< T, DESCRIPTOR > *, plb::BlockLattice3D< T, CEPAC_DESCRIPTOR > *, pluint ctype, HemoCellParticleField &)
Definition cellMechanics.h:49
Definition config.h:91
Definition hemoCellField.h:42
Definition hemoCellParticleField.h:39
Definition pltSimpleModel.h:33
void ParticleMechanics(std::map< plint, std::vector< HemoCellParticle * > > &particles_per_cell, const std::map< plint, bool > &lpc, pluint ctype) override
Definition pltSimpleModel.cpp:46
HemoCellField & cellField
Definition pltSimpleModel.h:36
void statistics() override
Definition pltSimpleModel.cpp:277
const T k_volume
Definition pltSimpleModel.h:37
const T eta_m
Definition pltSimpleModel.h:41
const T k_link
Definition pltSimpleModel.h:39
const T k_bend
Definition pltSimpleModel.h:40
const T k_area
Definition pltSimpleModel.h:38
double T
Definition constant_defaults.h:137
long int plint
Definition constant_defaults.h:149
long unsigned int pluint
Definition constant_defaults.h:152
Definition config.cpp:37