source: issm/trunk/src/c/objects/ExternalResults/ExternalResult.h@ 4182

Last change on this file since 4182 was 4182, checked in by Eric.Larour, 15 years ago

Added OutputResults module.
OutputResultsx now outputs time and step for results.
serial solutions updated to get results from OutputResults module.

File size: 736 bytes
RevLine 
[4050]1/*!\file: ExternalResult.h
2 * \brief abstract class for ExternalResult object
3 */
4
5
6#ifndef _EXTERNALRESULT_H_
7#define _EXTERNALRESULT_H_
8
9/*Headers:*/
10/*{{{1*/
11
12#ifdef HAVE_CONFIG_H
13 #include "config.h"
14#else
15#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
16#endif
17
18#ifdef _SERIAL_
19#include <mex.h>
20#endif
21
22#include "../Object.h"
23#include "../Node.h"
24/*}}}*/
25
26class ExternalResult: public Object{
27
28 public:
29
30 virtual ~ExternalResult(){};
31
32 /*methods:{{{1*/
33 virtual int EnumType()=0;
[4149]34 virtual void WriteData(FILE* fid)=0;
[4166]35 virtual char* GetResultName(void)=0;
36 #ifdef _SERIAL_
37 virtual void SetMatlabField(mxArray* dataref)=0;
38 #endif
[4182]39 virtual int GetStep(void)=0;
[4050]40 /*}}}*/
41};
42#endif
Note: See TracBrowser for help on using the repository browser.