hemocell
Loading...
Searching...
No Matches
NoOp.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_NOOP_H
25#define HEMOCELL_NOOP_H
26#include "cellMechanics.h"
27
28namespace hemo {
38class NoOp : public CellMechanics {
39public:
40 NoOp(Config & modelCfg_, HemoCellField & cellField_) : CellMechanics(cellField_, modelCfg_), cellField(cellField_) {}
41
42 void ParticleMechanics(std::map<plint, std::vector<HemoCellParticle *>> &, const std::map<plint, bool> &,
43 pluint) override {}
44 void statistics() override {
45 hlog << "(Cell-mechanics model) NoOp for " << cellField.name << " cellfield: no membrane forces" << std::endl;
46 }
47
48private:
50};
51}
52
53#endif
Definition cellMechanics.h:37
Definition config.h:91
Definition hemoCellField.h:42
std::string name
Definition hemoCellField.h:51
Null cell model: no membrane forces.
Definition NoOp.h:38
void statistics() override
Definition NoOp.h:44
void ParticleMechanics(std::map< plint, std::vector< HemoCellParticle * > > &, const std::map< plint, bool > &, pluint) override
Definition NoOp.h:42
HemoCellField & cellField
Definition NoOp.h:49
NoOp(Config &modelCfg_, HemoCellField &cellField_)
Definition NoOp.h:40
long int plint
Definition constant_defaults.h:149
long unsigned int pluint
Definition constant_defaults.h:152
Definition config.cpp:37
Logfile hlog
Definition logfile.cpp:26