hemocell
Loading...
Searching...
No Matches
fluidInfo.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 FLUIDINFO_H
25#define FLUIDINFO_H
26
27#include "hemocell.h"
28#include "hemoCellFunctional.h"
29#include <vector>
30
31namespace hemo {
32
34 double min;
35 double max;
36 double avg;
38};
39
40class GatherFluidVelocity : public HemoCellGatheringFunctional<FluidStatistics> {
41 public:
43 void processGenericBlocks(plb::Box3D, std::vector<plb::AtomicBlock3D*>);
44 GatherFluidVelocity * clone() const;
45};
46class GatherFluidForce : public HemoCellGatheringFunctional<FluidStatistics> {
47 public:
49 void processGenericBlocks(plb::Box3D, std::vector<plb::AtomicBlock3D*>);
50 GatherFluidForce * clone() const;
51};
52class FluidInfo {
53public:
56};
57
58}
59#endif /* FLUIDINFO_H */
60
Definition fluidInfo.h:52
static FluidStatistics calculateForceStatistics(HemoCell *hemocell_)
Definition fluidInfo.cpp:127
static FluidStatistics calculateVelocityStatistics(HemoCell *hemocell_)
Definition fluidInfo.cpp:102
Definition fluidInfo.h:46
void processGenericBlocks(plb::Box3D, std::vector< plb::AtomicBlock3D * >)
Definition fluidInfo.cpp:66
GatherFluidForce * clone() const
Definition fluidInfo.cpp:161
Definition fluidInfo.h:40
GatherFluidVelocity * clone() const
Definition fluidInfo.cpp:160
void processGenericBlocks(plb::Box3D, std::vector< plb::AtomicBlock3D * >)
Definition fluidInfo.cpp:33
Definition hemoCellFunctional.h:54
Definition hemocell.h:68
long unsigned int pluint
Definition constant_defaults.h:130
Definition config.cpp:34
Definition fluidInfo.h:33
double avg
Definition fluidInfo.h:36
double max
Definition fluidInfo.h:35
double min
Definition fluidInfo.h:34
pluint ncells
Definition fluidInfo.h:37