Home
About Us
Publications
Developers
Installation
Examples
Documentation
SomeWebsiteLogo
Home
About Us
Publications
Developers
Installation
Examples
Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
include
libmesh
diva_io.h
Go to the documentation of this file.
1
// The libMesh Finite Element Library.
2
// Copyright (C) 2002-2016 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
3
4
// This library is free software; you can redistribute it and/or
5
// modify it under the terms of the GNU Lesser General Public
6
// License as published by the Free Software Foundation; either
7
// version 2.1 of the License, or (at your option) any later version.
8
9
// This library is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
// Lesser General Public License for more details.
13
14
// You should have received a copy of the GNU Lesser General Public
15
// License along with this library; if not, write to the Free Software
16
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
18
19
#ifndef LIBMESH_DIVA_IO_H
20
#define LIBMESH_DIVA_IO_H
21
22
// Local includes
23
#include "
libmesh/libmesh_common.h
"
24
#include "
libmesh/mesh_output.h
"
25
26
// C++ Includes -----------------------------------
27
28
namespace
libMesh
29
{
30
31
// Forward declarations
32
class
MeshBase;
33
43
class
DivaIO
:
public
MeshOutput
<MeshBase>
44
{
45
public
:
50
//TODO:[JWP] figure out how to implement a const write method!
51
explicit
52
DivaIO
(
const
MeshBase
&);
53
57
virtual
void
write
(
const
std::string &) libmesh_override;
58
59
private
:
60
66
void
write_stream
(std::ostream &
out
);
67
};
68
69
70
71
72
// ------------------------------------------------------------
73
// DivaIO inline members
74
inline
75
DivaIO::DivaIO
(
const
MeshBase
& mesh_in) :
76
MeshOutput
<
MeshBase
> (mesh_in)
77
{}
78
79
80
}
// namespace libMesh
81
82
#endif // LIBMESH_DIVA_IO_H
libMesh::DivaIO::write
virtual void write(const std::string &) libmesh_override
Definition:
diva_io.C:34
libMesh::MeshOutput
Definition:
mesh_output.h:52
libMesh
Definition:
dof_map.C:49
mesh_output.h
libMesh::DivaIO
Definition:
diva_io.h:43
libMesh::MeshBase
Definition:
mesh_base.h:67
libMesh::DivaIO::DivaIO
DivaIO(const MeshBase &)
Definition:
diva_io.h:75
libmesh_common.h
libMesh::DivaIO::write_stream
void write_stream(std::ostream &out)
Definition:
diva_io.C:53
libMesh::out
OStreamProxy out(std::cout)
Definition:
libmesh_common.h:234
generated by