Peano
Loading...
Searching...
No Matches
FileReader.h
Go to the documentation of this file.
1// This file is part of the Peano project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5
8
9
10#include <list>
11
12
13namespace toolbox {
14 namespace particles {
15 class FileReader;
16 }
17}
18
19
26 private:
28
29 std::list< tarch::la::Vector<Dimensions,double> > _data;
30 public:
37 void readDatFile( const std::string& filename, const double scale );
38
65 std::list< tarch::la::Vector<Dimensions,double> > getParticlesWithinVoxel(
68 bool remove
69 );
70
71 void clear();
72
73 bool empty() const;
74
75 bool getNumberOfCoordinates() const;
76};
77
Log Device.
Definition Log.h:516
std::list< tarch::la::Vector< Dimensions, double > > getParticlesWithinVoxel(const tarch::la::Vector< Dimensions, double > &x, const tarch::la::Vector< Dimensions, double > &h, bool remove)
Take particles from database which fall into given voxel.
std::list< tarch::la::Vector< Dimensions, double > > _data
Definition FileReader.h:29
void readDatFile(const std::string &filename, const double scale)
Read DAT file.
static tarch::logging::Log _log
Definition FileReader.h:27
Simple vector class.
Definition Vector.h:150