COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
cf3
mesh
smurf
Writer.hpp
Go to the documentation of this file.
1
// Copyright (C) 2010-2013 von Karman Institute for Fluid Dynamics, Belgium
2
//
3
// This software is distributed under the terms of the
4
// GNU Lesser General Public License version 3 (LGPLv3).
5
// See doc/lgpl.txt and doc/gpl.txt for the license text.
6
7
#ifndef cf3_mesh_smurf_Writer_hpp
8
#define cf3_mesh_smurf_Writer_hpp
9
11
12
#include "
mesh/MeshWriter.hpp
"
13
#include "
mesh/GeoShape.hpp
"
14
15
#include "
smurf/smurf.h
"
16
17
#include "
mesh/smurf/LibSmurf.hpp
"
18
20
21
namespace
cf3
{
22
namespace
mesh
{
23
class
ElementType;
24
namespace
smurf {
25
27
30
class
smurf_API
Writer
:
public
MeshWriter
31
{
32
public
:
// typedefs
33
34
35
36
37
public
:
// functions
38
40
Writer
(
const
std::string&
name
);
41
43
static
std::string
type_name
() {
return
"Writer"
; }
44
45
virtual
void
write();
46
47
virtual
std::string
get_format
() {
return
"smurf"
; }
48
49
virtual
std::vector<std::string> get_extensions();
50
51
private
:
// functions
52
53
SmURF::ZoneType
zone_type(
const
ElementType
& etype)
const
;
54
55
private
:
// data
56
57
58
};
// end Writer
59
60
62
63
}
// smurf
64
}
// mesh
65
}
// cf3
66
68
69
#endif // cf3_mesh_smurf_Writer_hpp
cf3::python::name
std::string name(ComponentWrapper &self)
Definition:
ComponentWrapper.cpp:340
smurf.h
LibSmurf.hpp
smurf_API
#define smurf_API
Definition:
LibSmurf.hpp:22
cf3::mesh::ElementType
Definition:
ElementType.hpp:34
SmURF::ZoneType
ZoneType
Definition:
smurf.h:15
cf3::mesh::MeshWriter
Definition:
MeshWriter.hpp:30
atest-boussinesq.mesh
tuple mesh
Definition:
atest-boussinesq.py:64
cf3::mesh::smurf::Writer::type_name
static std::string type_name()
Gets the Class name.
Definition:
Writer.hpp:43
cf3::mesh::smurf::Writer::get_format
virtual std::string get_format()
Definition:
Writer.hpp:47
cf3::mesh::smurf::Writer
Definition:
Writer.hpp:30
GeoShape.hpp
cf3
Top-level namespace for coolfluid.
Definition:
Action.cpp:18
MeshWriter.hpp
Generated on Sun Jun 14 2015 21:20:11 for COOLFluiD by
1.8.9.1
Send comments to:
COOLFluiD Web Admin