Skip to content
Snippets Groups Projects
Select Git revision
  • 0757dd1cb47b771d6404acecee5c64911b67fde3
  • master default protected
  • overlaps_tags_and_distributed_export
  • patches-4.14
  • steplayer
  • bl
  • pluginMeshQuality
  • fixBugsAmaury
  • hierarchical-basis
  • alphashapes
  • relaying
  • new_export_boris
  • oras_vs_osm
  • reassign_partitions
  • distributed_fwi
  • rename-classes
  • fix/fortran-api-example-t4
  • robust_partitions
  • reducing_files
  • fix_overlaps
  • 3115-issue-fix
  • gmsh_4_14_0
  • gmsh_4_13_1
  • gmsh_4_13_0
  • gmsh_4_12_2
  • gmsh_4_12_1
  • gmsh_4_12_0
  • gmsh_4_11_1
  • gmsh_4_11_0
  • gmsh_4_10_5
  • gmsh_4_10_4
  • gmsh_4_10_3
  • gmsh_4_10_2
  • gmsh_4_10_1
  • gmsh_4_10_0
  • gmsh_4_9_5
  • gmsh_4_9_4
  • gmsh_4_9_3
  • gmsh_4_9_2
  • gmsh_4_9_1
  • gmsh_4_9_0
41 results

MLine.h

  • GModelIO_Fourier.h 883 B
    // Gmsh - Copyright (C) 1997-2016 C. Geuzaine, J.-F. Remacle
    //
    // See the LICENSE.txt file for license information. Please report all
    // bugs and problems to the public mailing list <gmsh@onelab.info>.
    
    #ifndef _GMODEL_IO_FOURIER_H_
    #define _GMODEL_IO_FOURIER_H_
    
    #include <vector>
    #include "GmshConfig.h"
    #include "GModel.h"
    
    #if defined(HAVE_FOURIER_MODEL)
    
    #include "FM_Reader.h"
    
    class FM_Internals {
     private:
      std::vector<FM::Reader*> reader;
    
     public:
      FM_Internals() {}
      ~FM_Internals() {}
    
      void loadFM();
      void loadFM(const char* filename);
      void makeGFace(FM::Patch* patch, GModel* model);
      void buildGModel(FM::Reader* reater, GModel* model);
    
      FM::Reader* getReader(int tag) 
      { 
        if(tag < (int)reader.size()) return reader[tag];
      }
      int getSize() { return reader.size(); }
      FM::Reader* current() { return reader[reader.size() - 1]; }
    };
    
    #endif
    
    #endif