ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
aslVTKFormatWriters.h
Go to the documentation of this file.
1/*
2 * Advanced Simulation Library <http://asl.org.il>
3 *
4 * Copyright 2015 Avtech Scientific <http://avtechscientific.com>
5 *
6 *
7 * This file is part of Advanced Simulation Library (ASL).
8 *
9 * ASL is free software: you can redistribute it and/or modify it
10 * under the terms of the GNU Affero General Public License as
11 * published by the Free Software Foundation, version 3 of the License.
12 *
13 * ASL is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Affero General Public License for more details.
17 *
18 * You should have received a copy of the GNU Affero General Public License
19 * along with ASL. If not, see <http://www.gnu.org/licenses/>.
20 *
21 */
22
23
24#ifndef ASLVTKFORMATWRITERS_H
25#define ASLVTKFORMATWRITERS_H
26
27#include "aslWriter.h"
28//#include <data/aslDataWrapper.h>
29
30#include <stdlib.h>
31
32#include <iostream>
33#include <fstream>
34#include <string>
35#include <memory>
36
37namespace asl
38{
41 class WriterVTKXML : public Writer
42 {
43 Block *newBl;
44 public:
45 WriterVTKXML(const std::string & file, Block *nbl=0);
46 void write();
47 };
48
49
52 void writeVTKXML(const std::string & fileName,
53 const AbstractData & data,
54 const std::string & name);
55
56} // asl
57
58#endif // ASLVTKFORMATWRITERS_H
59
std::string file
Definition: aslWriter.h:70
WriterVTKXML(const std::string &file, Block *nbl=0)
void writeVTKXML(const std::string &fileName, const AbstractData &data, const std::string &name)
Advanced Simulation Library.
Definition: aslDataInc.h:31