File: GmshIO.h

package info (click to toggle)
psurface 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,092 kB
  • sloc: cpp: 12,339; makefile: 111; awk: 38
file content (21 lines) | stat: -rw-r--r-- 590 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef GMSHIO_H
#define GMSHIO_H

#include <string>

namespace psurface{

template<class ctype,int dim>
class GmshIO{
    static void    readfile(FILE * file, int cnt, const char* format,
             void* t1, void* t2 = 0, void* t3 = 0, void* t4 = 0,
             void* t5 = 0, void* t6 = 0, void* t7 = 0, void* t8 = 0,
             void* t9 = 0, void* t10 = 0);
    static void    skipline(FILE * file);

    public:
    /// Reads the parametrization of psurface from Gmsh object
    static PSurface<dim, ctype>* readGmsh(const std::string& filename);
};
} // namespace psurface
#endif