AQUAgpusph 4.1.2
Loading...
Searching...
No Matches
FastASCII.h
Go to the documentation of this file.
1/*
2 * This file is part of AQUAgpusph, a free CFD program based on SPH.
3 * Copyright (C) 2012 Jose Luis Cercos Pita <jl.cercos@upm.es>
4 *
5 * AQUAgpusph is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * AQUAgpusph is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with AQUAgpusph. If not, see <http://www.gnu.org/licenses/>.
17 */
18
24#ifndef FastASCII_H_INCLUDED
25#define FastASCII_H_INCLUDED
26
27#include <sphPrerequisites.h>
28#include <InputOutput/ASCII.h>
29
30namespace Aqua {
31namespace InputOutput {
32
59class FastASCII : public ASCII
60{
61 public:
70 FastASCII(ProblemSetup& sim_data,
71 unsigned int iset,
72 unsigned int offset,
73 unsigned int n = 0);
74
76 ~FastASCII();
77
78 private:
86 std::string readField(const std::string field,
87 const std::string line,
88 unsigned int index,
89 void* data);
90}; // class InputOutput
91
92}
93} // namespaces
94
95#endif // FastASCII_H_INCLUDED
Particles plain text data files loader/saver (with math expressions evaluator). (See Aqua::InputOutpu...
Plain text particles data files loader/saver.
Definition: ASCII.h:59
Plain text particles data files loader/saver.
Definition: FastASCII.h:60
~FastASCII()
Destructor.
Definition: FastASCII.cpp:46
unsigned int n()
Get the number of particles managed by this instance.
Definition: Particles.h:78
Simulation configuration data.
Definition: ProblemSetup.h:91
Main AQUAgpusph namespace.
Definition: ArgumentsManager.cpp:45
Set of definitions and macros related with the implementation.