ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
aslVTKFormatReaders.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 ASLVTKFORMATREADERS_H
25#define ASLVTKFORMATREADERS_H
26
27
28#include <stdlib.h>
29
30#include <iostream>
31#include <fstream>
32#include <string>
33#include <memory>
34#include <acl/aclHardware.h>
35#include <data/aslDataWrapper.h>
36#include <aslGenerators.h>
37
38using namespace std;
39
40namespace agl
41{
42 class TrianglesList;
43 typedef std::shared_ptr<TrianglesList> SPTrianglesList;
44}
45
46namespace asl
47{
48 using namespace asl;
49
50// std::shared_ptr<DataWithGhostNodesACLData> SPDataWithGhostNodesACLData;
51
57 SPDataWithGhostNodesACLData read(const string & fileName,
58 unsigned int arrayNum,
59 acl::CommandQueue queue = acl::hardware.defaultQueue);
60
67 double dx,
68 acl::CommandQueue queue = acl::hardware.defaultQueue);
69
71 Block & b,
72 acl::CommandQueue queue = acl::hardware.defaultQueue);
73
74 // read surface with offsets retative to the surface outframe
76 double dx,
77 double offset_X0, double offset_XE,
78 double offset_Y0, double offset_YE,
79 double offset_Z0, double offset_ZE,
80 acl::CommandQueue queue = acl::hardware.defaultQueue);
81
82} // asl
83
84#endif // ASLVTKFORMATREADERS_H
85
acl::VectorOfElements dx(const TemplateVE &a)
differential operator
SPDataWithGhostNodesACLData readSurface(const string &fileName, double dx, acl::CommandQueue queue=acl::hardware.defaultQueue)
SPDataWithGhostNodesACLData read(const string &fileName, unsigned int arrayNum, acl::CommandQueue queue=acl::hardware.defaultQueue)
std::shared_ptr< cl::CommandQueue > CommandQueue
Definition: acl.h:51
Hardware hardware
std::shared_ptr< TrianglesList > SPTrianglesList
Advanced Simulation Library.
Definition: aslDataInc.h:31
std::shared_ptr< DataWithGhostNodesACLData > SPDataWithGhostNodesACLData
Definition: aslGenerators.h:47
STL namespace.