GetFEM  5.4.2
getfem::dx_export Class Reference

A (quite large) class for exportation of data to IBM OpenDX. More...

#include <getfem_export.h>

Public Member Functions

void exporting_mesh_edges (bool with_slice_edge=true)
 append edges information (if you want to draw the mesh and are using a refined slice. More...
 
void set_header (const std::string &s)
 the header is the second line of text in the exported file, you can put whatever you want – call this before any write_dataset or write_mesh
 
void serie_add_object (const std::string &serie_name, const std::string &object_name)
 add an object (typically the name of a data field) to a 'series', i.e. More...
 
std::string current_mesh_name ()
 return the name of current mesh (use exporting(...) to change the current mesh)
 
std::string current_data_name ()
 return the name of last written data_set
 

Detailed Description

A (quite large) class for exportation of data to IBM OpenDX.

           http://www.opendx.org/

This class is more capable than the VTK export, as it is possible to export many different meshes/slices, with their edges, datasets, and create series of dataset for animations etc, in a single '.dx' file.

Moreover, it is able to reopen a '.dx' file and append new data into it. Hence it is possible, if many time-steps are to be saved, to view intermediate results in OpenDX during the computation.

Definition at line 318 of file getfem_export.h.

Member Function Documentation

◆ exporting_mesh_edges()

void getfem::dx_export::exporting_mesh_edges ( bool  with_slice_edge = true)

append edges information (if you want to draw the mesh and are using a refined slice.

Should be called just after exporting(..)

Definition at line 1023 of file getfem_export.cc.

◆ serie_add_object()

void getfem::dx_export::serie_add_object ( const std::string &  serie_name,
const std::string &  object_name 
)

add an object (typically the name of a data field) to a 'series', i.e.

an aggregate of consecutive objects. Using 'series' is useful for animations in opendx

If 'field_name' corresponds to a data_set whose mesh edges have been exported, a second series called serie_name + '_edges' will be filled, which will allow you to view the mesh edges.

Definition at line 812 of file getfem_export.cc.


The documentation for this class was generated from the following files:

Rabisu Mirror Service We provide mirrors to support Open source communities. Our mirror server is located in Istanbul/Turkey region.

Please do not hesitate to contact mirror@rabisu.com for new open source mirror submissions.