Data Structures | Namespaces | Functions

/export/development/ViennaGrid/release/ViennaGrid-1.0.0/viennagrid/io/opendx_writer.hpp File Reference

Provides a writer for OpenDX files. More...

#include <fstream>
#include <iostream>
#include "viennagrid/forwards.h"
#include "viennagrid/io/helper.hpp"
#include "viennagrid/io/data_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< DomainType >
 The OpenDX writer object. Does not support segments - always the full domain is written. More...

Namespaces

namespace  viennagrid
 

The main ViennaGrid namespace. Most functionality resides in this namespace.


namespace  viennagrid::io
 

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


Functions

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.
template<typename KeyType , typename DataType , typename DomainType >
opendx_writer< DomainType > & add_scalar_data_on_vertices (opendx_writer< DomainType > &writer, KeyType const &key, std::string quantity_name)
 Registers scalar-valued data on vertices at the OpenDX writer. At most one data set is allowed.
template<typename KeyType , typename DataType , typename DomainType >
opendx_writer< DomainType > & add_scalar_data_on_cells (opendx_writer< DomainType > &writer, KeyType const &key, std::string quantity_name)
 Registers scalar-valued data on cells at the OpenDX writer. Note that vertex data has precedence. At most one data set is allowed.

Detailed Description

Provides a writer for OpenDX files.