IFEM  90A354
Macros | Functions
VTF.C File Reference

Output of FE model and results to VTF file. More...

#include "VTF.h"
#include "ElementBlock.h"
#include "Function.h"
#include "Tensor.h"
#include <iostream>
#include <cstdio>
Include dependency graph for VTF.C:

Macros

#define VTFA_FAILURE(x)   x <= 0
 Convenience macro.
 
#define VTFA_SUCCESS(x)   x > 0
 Convenience macro.
 

Functions

static bool showError (const char *msg, int ID1=-1, int ID2=-2)
 Static helper printing an error message to std::cerr. More...
 

Detailed Description

Output of FE model and results to VTF file.

Date
Dec 1 2008
Author
Knut Morten Okstad / SINTEF

Function Documentation

◆ showError()

static bool showError ( const char *  msg,
int  ID1 = -1,
int  ID2 = -2 
)
static

Static helper printing an error message to std::cerr.

Parameters
[in]msgThe message to print
[in]ID1If non-negative, the value is appended to the message
[in]ID2If non-negative, the value is appended to the message
Returns
false (always)

Referenced by VTF::VTF(), VTF::writeDblk(), VTF::writeEres(), VTF::writeGrid(), VTF::writeNfunc(), VTF::writeNres(), VTF::writePoints(), VTF::writeSblk(), VTF::writeState(), VTF::writeTblk(), VTF::writeTransformation(), VTF::writeVblk(), VTF::writeVectors(), VTF::writeVres(), and VTF::~VTF().