hemocell
Loading...
Searching...
No Matches
ParticleHdf5IO.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 PARTICLE_HDF5IO_H
25#define PARTICLE_HDF5IO_H
26
27#include "hemoCellParticle.h"
28#include "hemoCellFields.h"
29#include "hemoCellField.h"
30namespace hemo {
31void writeCellField3D_HDF5(HemoCellFields& cellFields, T dx, T dt, plint iter, std::string preString="");
32
33
34class WriteCellField3DInMultipleHDF5Files : public BoxProcessingFunctional3D
35{
36public:
38 HemoCellField & cellField3D_,
39 plint iter_, std::string identifier_,
40 T dx_, T dt_, int i);
43 virtual void processGenericBlocks(Box3D domain, std::vector<AtomicBlock3D*> fields);
45 virtual void getTypeOfModification(std::vector<modif::ModifT>& modified) const;
46 virtual BlockDomain::DomainT appliesTo() const;
47private:
50 std::string identifier;
51 double dx;
52 double dt;
53 int ctype;
54};
55}
56#endif // FICSION_PARTICLE_HDF5IO_H
57
Definition hemoCellField.h:42
Definition ParticleHdf5IO.h:35
HemoCellField & cellField3D
Definition ParticleHdf5IO.h:48
virtual WriteCellField3DInMultipleHDF5Files * clone() const
Definition ParticleHdf5IO.cpp:198
~WriteCellField3DInMultipleHDF5Files()
Arguments: [0] Particle-field. [1] Lattice.
Definition ParticleHdf5IO.h:42
std::string identifier
Definition ParticleHdf5IO.h:50
double dt
Definition ParticleHdf5IO.h:52
virtual void getTypeOfModification(std::vector< modif::ModifT > &modified) const
Definition ParticleHdf5IO.cpp:202
virtual BlockDomain::DomainT appliesTo() const
Definition ParticleHdf5IO.cpp:210
double dx
Definition ParticleHdf5IO.h:51
virtual void processGenericBlocks(Box3D domain, std::vector< AtomicBlock3D * > fields)
Definition ParticleHdf5IO.cpp:39
int ctype
Definition ParticleHdf5IO.h:53
plint iter
Definition ParticleHdf5IO.h:49
double T
Definition constant_defaults.h:118
long int plint
Definition constant_defaults.h:127
Definition config.cpp:34
void writeCellField3D_HDF5(HemoCellFields &cellFields, T dx, T dt, plint iter, std::string preString)
Definition ParticleHdf5IO.cpp:216