AQUAgpusph 4.1.2
Loading...
Searching...
No Matches
InputOutput.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 INPUTOUTPUT_H_INCLUDED
25#define INPUTOUTPUT_H_INCLUDED
26
27namespace Aqua {
28namespace InputOutput {
29
38{
39 protected:
42
44 virtual ~InputOutput(){};
45
46 public:
51 virtual void save(float t) = 0;
52
55 virtual void load() = 0;
56
57}; // class InputOutput
58
59}
60} // namespaces
61
62#endif // INPUTOUTPUT_H_INCLUDED
Base class for input/output file managers.
Definition: InputOutput.h:38
virtual void save(float t)=0
Save the data.
virtual void load()=0
Load the data.
virtual ~InputOutput()
Destructor.
Definition: InputOutput.h:44
InputOutput()
Constructor.
Definition: InputOutput.h:41
Main AQUAgpusph namespace.
Definition: ArgumentsManager.cpp:45