ViennaGrid - The Vienna Grid Library  2.1.0
Data Structures | Namespaces | Functions
viennagrid/io/opendx_writer.hpp File Reference

Provides a writer for OpenDX files. More...

#include <fstream>
#include <iostream>
#include "viennagrid/forwards.hpp"
#include "viennagrid/mesh/mesh.hpp"
#include "viennagrid/io/helper.hpp"
#include "viennagrid/accessor.hpp"

Go to the source code of this file.

Data Structures

struct  DXHelper< DIM >
 A helper class returning dimension-dependent attribute strings. More...
struct  DXHelper< 1 >
struct  DXHelper< 2 >
struct  DXHelper< 3 >
class  opendx_writer< MeshType >
 The OpenDX writer object. Does not support segments - always the full mesh is written. More...

Namespaces

namespace  viennagrid
 

The main ViennaGrid namespace. Most user functionality resides directly in this namespace rather than in sub-namespaces.


namespace  viennagrid::io
 

A namespace with all the input/output functionality, in particular file readers and writers.


Functions

template<typename MeshT , typename AccessorT >
opendx_writer< MeshT > & add_scalar_data_on_cells (opendx_writer< MeshT > &writer, AccessorT const accessor, std::string const &quantity_name)
 Registers scalar-valued data on cells at the OpenDX writer. At most one data set is allowed.
template<typename MeshT , typename AccessorT >
opendx_writer< MeshT > & add_scalar_data_on_vertices (opendx_writer< MeshT > &writer, AccessorT const accessor, std::string const &quantity_name)
 Registers scalar-valued data on vertices at the OpenDX writer. At most one data set is allowed.
template<typename FloatingPointType >
FloatingPointType DXfixer (FloatingPointType value)
 Fix for a OpenDX bug: if floating-values occur, no integers (i.e. only zeros after decimal point) are allowed.

Detailed Description

Provides a writer for OpenDX files.