Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

SimRes2vtk Class Reference

#include <SimRes2vtk.h>

Inheritance diagram for SimRes2vtk::

SimResFilter List of all members.

Public Methods

 SimRes2vtk ()
virtual ~SimRes2vtk ()
virtual void usage ()
virtual void simresHeader (PlotSpecifications &plotspec)
virtual void simresFooter (PlotSpecifications &plotspec)
virtual void processFormatSpecificOptions (VecSimple(String) &arguments, PlotSpecifications &plotspec)
virtual void exportScalarField (Field &scalarfield, FieldInformation &fieldinfo, PlotSpecifications &plotspec)
virtual void exportVectorField (Fields &vectorfield, FieldInformation &fieldinfo, PlotSpecifications &plotspec)

Static Public Methods

void openLogFile (String dataname, bool scalar_data)
void closeLogFile ()
void reportElm (int e, String elm_type, String vtk_cell_type, String comment)
void setVtkPtr (vtkUnstructuredGrid *vtk_u_grid)
void setVtkPtr (vtkStructuredGrid *vtk_s_grid)
void resetVtkPtrs ()
bool convertVol (const GridFV &grid, const int v, int &vtk_cell_type, int &npt, vtkIdType pt_list[])
bool convertElm (const GridFE &grid, const int e, int &vtk_cell_type, int &npt, vtkIdType pt_list[])
void field2vtk (const FieldsFV &vector_field, vtkUnstructuredGrid *vtk_u_grid, const char *options, bool imaginary=false, bool smooth=true)
void field2vtk (const FieldFV &scalar_field, vtkUnstructuredGrid *vtk_u_grid, const char *options, bool imaginary=false, bool smooth=true)
void field2vtk (const FieldsFE &vector_field, vtkUnstructuredGrid *vtk_u_grid, const char *options="", bool imaginary=false)
void field2vtk (const FieldFE &scalar_field, vtkUnstructuredGrid *vtk_u_grid, const char *options="", bool imaginary=false)
void field2vtk (const FieldsPiWisConst &vector_field, vtkUnstructuredGrid *vtk_u_grid, const char *options="", bool imaginary=false)
void field2vtk (const FieldPiWisConst &scalar_field, vtkUnstructuredGrid *vtk_u_grid, const char *options="", bool imaginary=false)
void field2vtk (const FieldsLattice &vector_field, vtkStructuredGrid *vtk_s_grid, const char *options="", bool imaginary=false)
void field2vtk (const FieldLattice &scalar_field, vtkStructuredGrid *vtk_s_grid, const char *options="", bool imaginary=false)
void vtk2file (const VtkGrid_type flag, const String &filename, const Format_type format=ASCII)
void vtk2file (const vtkStructuredGrid *structured_grid, const VtkGrid_type flag, const String &filename, const Format_type format=ASCII)
void vtk2file (const vtkUnstructuredGrid *unstructured_grid, const VtkGrid_type flag, const String &filename, const Format_type format=ASCII)
void plotVector (const FieldsFV &vector_field, const String &filename, const Format_type format=ASCII, const char *options="")
void plotScalar (const FieldFV &scalar_field, const String &filename, const Format_type format=ASCII, const char *options="")
void plotVector (const FieldsFE &vector_field, const String &filename, const Format_type format=ASCII, const char *options="")
void plotScalar (const FieldFE &scalar_field, const String &filename, const Format_type format=ASCII, const char *options="")
void plotVector (const FieldsPiWisConst &vector_field, const String &filename, const Format_type format=ASCII, const char *options="")
void plotScalar (const FieldPiWisConst &scalar_field, const String &filename, const Format_type format=ASCII, const char *options="")
void plotVector (const FieldsLattice &vector_field, const String &filename, const Format_type format=ASCII, const char *options="")
void plotScalar (const FieldLattice &scalar_field, const String &filename, const Format_type format=ASCII, const char *options="")
void exportToFile (const VtkGrid_type flag, const String &base_filename, const Format_type format=ASCII, const char *options="")
void exportToFile (const vtkUnstructuredGrid *vtk_u_grid, const VtkGrid_type flag, const String &base_filename, const Format_type format=ASCII, const char *options="")
void exportToFile (const vtkStructuredGrid *vtk_s_grid, const VtkGrid_type flag, const String &base_filename, const Format_type format=ASCII, const char *options="")
void display (const FieldFE &scalar_field, const char *options="")
bool sideOnSelectedBoundary (const GridFE &gfe, const int elm, const int side, const VecSimple(int) &sel, const HandleElmDefs elmdef)
bool sideOnSelectedBoundary (const GridFV &gfv, const int volno, const int loc_face, const VecSimple(int) &sel)
void plotVRMLScalar (const FieldFE &scalar_field, const String &filename, const Format_type format=ASCII, const char *options="")
void plotVRMLScalar (const FieldFV &scalar_field, const String &filename, const Format_type format=ASCII, const char *options="")
void plotVRMLGrid (const GridFE &grid, const String &filename, const String &grid_str, const Format_type format)
void plotVRMLGrid (const GridFV &grid, const String &filename, const String &grid_str, const Format_type format)
void plotVRMLGrid (const GridLattice &grid, const String &filename, const String &grid_str, const Format_type format)
void exportVRMLGrid (const vtkUnstructuredGrid *vtk_u_grid, const VtkGrid_type flag, const String &filename, const Format_type format, const char *options="")
void grid2vtk (const GridFV &grid, vtkUnstructuredGrid *local_u_grid, const String &grid_str)
void grid2vtk (const GridFE &grid, vtkUnstructuredGrid *local_u_grid, const String &grid_str)
void boundary2vtk (const GridFE &grid, vtkUnstructuredGrid *bo_u_grid, const VecSimple(int) &selected, const String &grid_str)
void plotGrid (Grid &grid, String fname, String grid_str)

Static Public Attributes

vtkStructuredGrid* s_grid
vtkUnstructuredGrid* u_grid
Os logfile
int filecnt
float cmin
float cmax
int ext [6]

Protected Attributes

String label
bool collect_fields

Constructor & Destructor Documentation

SimRes2vtk::SimRes2vtk ( )
 

SimRes2vtk::~SimRes2vtk ( ) [virtual]
 


Member Function Documentation

void SimRes2vtk::boundary2vtk ( const GridFE & grid,
vtkUnstructuredGrid * bo_u_grid,
const VecSimple(int) & selected,
const String & grid_str ) [static]
 

void SimRes2vtk::closeLogFile ( ) [static]
 

bool SimRes2vtk::convertElm ( const GridFE & grid,
const int e,
int & vtk_cell_type,
int & npt,
vtkIdType pt_list[] ) [static]
 

bool SimRes2vtk::convertVol ( const GridFV & grid,
const int v,
int & vtk_cell_type,
int & npt,
vtkIdType pt_list[] ) [static]
 

void SimRes2vtk::display ( const FieldFE & scalar_field,
const char * options = " " ) [static]
 

void SimRes2vtk::exportScalarField ( Field & scalarfield,
FieldInformation & fieldinfo,
PlotSpecifications & plotspec ) [virtual]
 

export a scalar field to a file format that can be read by a specific visualization program.

Reimplemented from SimResFilter.

void SimRes2vtk::exportToFile ( const vtkStructuredGrid * vtk_s_grid,
const VtkGrid_type flag,
const String & base_filename,
const Format_type format = ASCII,
const char * options = " " ) [static]
 

void SimRes2vtk::exportToFile ( const vtkUnstructuredGrid * vtk_u_grid,
const VtkGrid_type flag,
const String & base_filename,
const Format_type format = ASCII,
const char * options = " " ) [static]
 

void SimRes2vtk::exportToFile ( const VtkGrid_type flag,
const String & base_filename,
const Format_type format = ASCII,
const char * options = " " ) [static]
 

void SimRes2vtk::exportVRMLGrid ( const vtkUnstructuredGrid * vtk_u_grid,
const VtkGrid_type flag,
const String & filename,
const Format_type format,
const char * options = " " ) [static]
 

void SimRes2vtk::exportVectorField ( Fields & vectorfield,
FieldInformation & fieldinfo,
PlotSpecifications & plotspec ) [virtual]
 

as "exportScalarField", but handles vector fields instead.

Reimplemented from SimResFilter.

void SimRes2vtk::field2vtk ( const FieldLattice & scalar_field,
vtkStructuredGrid * vtk_s_grid,
const char * options = " ",
bool imaginary = false ) [static]
 

void SimRes2vtk::field2vtk ( const FieldsLattice & vector_field,
vtkStructuredGrid * vtk_s_grid,
const char * options = " ",
bool imaginary = false ) [static]
 

void SimRes2vtk::field2vtk ( const FieldPiWisConst & scalar_field,
vtkUnstructuredGrid * vtk_u_grid,
const char * options = " ",
bool imaginary = false ) [static]
 

void SimRes2vtk::field2vtk ( const FieldsPiWisConst & vector_field,
vtkUnstructuredGrid * vtk_u_grid,
const char * options = " ",
bool imaginary = false ) [static]
 

void SimRes2vtk::field2vtk ( const FieldFE & scalar_field,
vtkUnstructuredGrid * vtk_u_grid,
const char * options = " ",
bool imaginary = false ) [static]
 

void SimRes2vtk::field2vtk ( const FieldsFE & vector_field,
vtkUnstructuredGrid * vtk_u_grid,
const char * options = " ",
bool imaginary = false ) [static]
 

void SimRes2vtk::field2vtk ( const FieldFV & scalar_field,
vtkUnstructuredGrid * vtk_u_grid,
const char * options,
bool imaginary = false,
bool smooth = true ) [static]
 

void SimRes2vtk::field2vtk ( const FieldsFV & vector_field,
vtkUnstructuredGrid * vtk_u_grid,
const char * options,
bool imaginary = false,
bool smooth = true ) [static]
 

void SimRes2vtk::grid2vtk ( const GridFE & grid,
vtkUnstructuredGrid * local_u_grid,
const String & grid_str ) [static]
 

void SimRes2vtk::grid2vtk ( const GridFV & grid,
vtkUnstructuredGrid * local_u_grid,
const String & grid_str ) [static]
 

void SimRes2vtk::openLogFile ( String dataname,
bool scalar_data ) [static]
 

void SimRes2vtk::plotGrid ( Grid & grid,
String fname,
String grid_str ) [static]
 

void SimRes2vtk::plotScalar ( const FieldLattice & scalar_field,
const String & filename,
const Format_type format = ASCII,
const char * options = " " ) [static]
 

void SimRes2vtk::plotScalar ( const FieldPiWisConst & scalar_field,
const String & filename,
const Format_type format = ASCII,
const char * options = " " ) [static]
 

void SimRes2vtk::plotScalar ( const FieldFE & scalar_field,
const String & filename,
const Format_type format = ASCII,
const char * options = " " ) [static]
 

void SimRes2vtk::plotScalar ( const FieldFV & scalar_field,
const String & filename,
const Format_type format = ASCII,
const char * options = " " ) [static]
 

void SimRes2vtk::plotVRMLGrid ( const GridLattice & grid,
const String & filename,
const String & grid_str,
const Format_type format ) [static]
 

void SimRes2vtk::plotVRMLGrid ( const GridFV & grid,
const String & filename,
const String & grid_str,
const Format_type format ) [static]
 

void SimRes2vtk::plotVRMLGrid ( const GridFE & grid,
const String & filename,
const String & grid_str,
const Format_type format ) [static]
 

void SimRes2vtk::plotVRMLScalar ( const FieldFV & scalar_field,
const String & filename,
const Format_type format = ASCII,
const char * options = " " ) [static]
 

void SimRes2vtk::plotVRMLScalar ( const FieldFE & scalar_field,
const String & filename,
const Format_type format = ASCII,
const char * options = " " ) [static]
 

void SimRes2vtk::plotVector ( const FieldsLattice & vector_field,
const String & filename,
const Format_type format = ASCII,
const char * options = " " ) [static]
 

void SimRes2vtk::plotVector ( const FieldsPiWisConst & vector_field,
const String & filename,
const Format_type format = ASCII,
const char * options = " " ) [static]
 

void SimRes2vtk::plotVector ( const FieldsFE & vector_field,
const String & filename,
const Format_type format = ASCII,
const char * options = " " ) [static]
 

void SimRes2vtk::plotVector ( const FieldsFV & vector_field,
const String & filename,
const Format_type format = ASCII,
const char * options = " " ) [static]
 

void SimRes2vtk::processFormatSpecificOptions ( VecSimple(String) & arguments,
PlotSpecifications & plotspec ) [virtual]
 

process remaining command line arguments in derived classes (after "SimResFilter driver" has processed the arguments that are common to all filters).

Reimplemented from SimResFilter.

void SimRes2vtk::reportElm ( int e,
String elm_type,
String vtk_cell_type,
String comment ) [static]
 

void SimRes2vtk::resetVtkPtrs ( ) [static]
 

void SimRes2vtk::setVtkPtr ( vtkStructuredGrid * vtk_s_grid ) [static]
 

void SimRes2vtk::setVtkPtr ( vtkUnstructuredGrid * vtk_u_grid ) [static]
 

bool SimRes2vtk::sideOnSelectedBoundary ( const GridFV & gfv,
const int volno,
const int loc_face,
const VecSimple(int) & sel ) [static]
 

bool SimRes2vtk::sideOnSelectedBoundary ( const GridFE & gfe,
const int elm,
const int side,
const VecSimple(int) & sel,
const HandleElmDefs elmdef ) [static]
 

void SimRes2vtk::simresFooter ( PlotSpecifications & plotspec ) [virtual]
 

task to be done just before exiting the filter.

Reimplemented from SimResFilter.

void SimRes2vtk::simresHeader ( PlotSpecifications & plotspec ) [virtual]
 

task to be done once initially, after processing of command line args (in "driver").

Reimplemented from SimResFilter.

void SimRes2vtk::usage ( ) [virtual]
 

description of various command line arguments. The command line arguments that are common to all filters are explained in "SimResFilter usage" and processed in "SimResFilter driver". Additional command line arguments can be explained in the "usage" function in derived classes and processed in the "processFormatSpecificOptions" function in the derived class.

Reimplemented from SimResFilter.

void SimRes2vtk::vtk2file ( const vtkUnstructuredGrid * unstructured_grid,
const VtkGrid_type flag,
const String & filename,
const Format_type format = ASCII ) [static]
 

void SimRes2vtk::vtk2file ( const vtkStructuredGrid * structured_grid,
const VtkGrid_type flag,
const String & filename,
const Format_type format = ASCII ) [static]
 

void SimRes2vtk::vtk2file ( const VtkGrid_type flag,
const String & filename,
const Format_type format = ASCII ) [static]
 


Member Data Documentation

float SimRes2vtk::cmax [static]
 

float SimRes2vtk::cmin [static]
 

bool SimRes2vtk::collect_fields [protected]
 

int SimRes2vtk::ext [static]
 

int SimRes2vtk::filecnt [static]
 

String SimRes2vtk::label [protected]
 

Os SimRes2vtk::logfile [static]
 

vtkStructuredGrid * SimRes2vtk::s_grid [static]
 

vtkUnstructuredGrid * SimRes2vtk::u_grid [static]
 


The documentation for this class was generated from the following file:
Copyright © 2003 inuTech GmbH. All rights reserved.