Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Rocout_hdf4.h File Reference
#include "roccom.h"
#include <string>
Include dependency graph for Rocout_hdf4.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void write_attr_HDF4 (const std::string &fname, const std::string &mfile, const COM::Attribute *attr, const char *material, const char *timelevel, int pane_id, const std::string &errorhandle, int mode)
 

Function Documentation

void write_attr_HDF4 ( const std::string &  fname,
const std::string &  mfile,
const COM::Attribute *  attr,
const char *  material,
const char *  timelevel,
int  pane_id,
const std::string &  errorhandle,
int  mode 
)

Definition at line 130 of file Rocout_hdf4.C.

References COM_assertion, io_pane(), and Window::pane().

Referenced by Rocout::write_attr_internal().

134 {
135  const Window* w = attr->window();
136  COM_assertion(w != NULL);
137  const Pane& pn = w->pane(pane_id);
138  io_pane(fname.c_str(), &pn, attr, material, timelevel,
139  !mfile.empty() ? mfile.c_str() : NULL, errorhandle, mode);
140 }
A Pane object contains a mesh, pane attribute, and field variables.
Definition: Pane.h:43
#define COM_assertion(EX)
Error checking utility similar to the assert macro of the C language.
A Window object contains multiple panes and multiple data attributes.
Definition: Window.h:42
Pane & pane(const int pane_id, bool insert=false)
Find the pane with given ID. If not found, insert a pane with given ID.
Definition: Window.C:769
static void io_pane(const char *fname, const COM::Pane *pane, const COM::Attribute *attr, const char *material, const char *timelevel, const char *mfile, const std::string &errorhandle, const int mode)
Definition: Rocout_hdf4.C:142

Here is the call graph for this function:

Here is the caller graph for this function: