Diffpack Documentation


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

SimRes2matlab.h

Go to the documentation of this file.
00001 
00005 class SimRes2matlab : public SimResFilter
00006 
00007 {
00008 public:
00009 
00010   String mfile_name;
00011   Os     mfile;
00012   int    frame_counter;
00013   bool   dumpnodes;
00014   bool   movie; 
00015   NUMT      fmax, fmin;  
00016   Ptv(real) gmin, gmax;  
00017   int    field_nsd;      
00018 
00019   
00020   
00021   
00022   
00023   static bool first_call;
00024 
00025   SimRes2matlab ();
00026  ~SimRes2matlab () {}
00027 
00028   static void getmatlabNodeSequence
00029   (
00030    const GridFE&  grid,
00031    VecSimplest(int)& ns,      
00032    int& drawnodes,            
00033    int& patchnodes,           
00034    int& totpatches            
00035   );
00036 
00037   static void plotmatlabNodeValues
00038   (
00039    const FieldFE&    scalar_field,
00040    const String&     filename,
00041          Os          scriptfile,
00042    const Format_type format,
00043    const char*       options,
00044          int         frame_counter
00045   );
00046 
00047   static void plotVector
00048   (
00049    const FieldsFE&   vector_field,
00050    const String&     filename,
00051          Os          scriptfile,
00052    const Format_type format = ASCII,
00053    const char*       options = "",
00054          int         frame_counter = 1
00055   );
00056 
00057   static void plotVector
00058   (
00059    const FieldsPiWisConst&   vector_field,
00060    const String&     filename,
00061          Os          scriptfile,
00062    const Format_type format = ASCII,
00063    const char*       options = "",
00064          int         frame_counter = 1
00065   );
00066 
00067   static void plotScalar
00068   (
00069    const FieldFE&    scalar_field,
00070    const String&     filename,
00071          Os          scriptfile,
00072    const Format_type format = ASCII,
00073    const char*       options = "",
00074          int         frame_counter = 1
00075   );
00076 
00077   static void plotScalar
00078   (
00079    const FieldPiWisConst& scalar_field,
00080    const String&          filename,
00081          Os               scriptfile,
00082    const Format_type      format = ASCII,
00083    const char*            options = "",
00084          int              frame_counter = 1
00085   );
00086 
00087   static void plotScalar
00088   (
00089    const FieldLattice& scalar_field,
00090    const String&       filename,
00091          Os            scriptfile,
00092    const Format_type   format = ASCII,
00093    const char*         options = " ",
00094          int           frame_counter = 1
00095   );
00096 
00097 
00098   virtual void usage ();
00099   virtual void simresHeader (PlotSpecifications& plotspec);
00100   virtual void simresFooter  (PlotSpecifications& plotspec);
00101   virtual void processFormatSpecificOptions
00102     (VecSimple(String)&  arguments, PlotSpecifications& plotspec);
00103 
00104   virtual void exportScalarField
00105     (
00106      Field&               scalarfield,
00107      FieldInformation&    fieldinfo,
00108      PlotSpecifications&  plotspec
00109     );
00110 
00111   virtual void exportVectorField
00112     (
00113      Fields&              vectorfield,
00114      FieldInformation&    fieldinfo,
00115      PlotSpecifications&  plotspec
00116     );
00117 
00118   void init
00119     (
00120      String&              tit,
00121      FieldInformation&    fieldinfo,
00122      PlotSpecifications&  plotspec
00123     );
00124 };
00125 
00126 

Copyright © 2003 inuTech GmbH. All rights reserved.