Skip to content
Snippets Groups Projects
Select Git revision
  • 2e4f5dc5c4205df91b872a28bb98553ea093bd28
  • develop default protected
  • feature/advection
  • feature/composite-scheme-other-fluxes
  • origin/stage/bouguettaia
  • save_clemence
  • feature/local-dt-fsi
  • feature/variational-hydro
  • feature/gmsh-reader
  • feature/reconstruction
  • feature/kinetic-schemes
  • feature/composite-scheme-sources
  • feature/serraille
  • feature/composite-scheme
  • hyperplastic
  • feature/polynomials
  • feature/gks
  • feature/implicit-solver-o2
  • feature/coupling_module
  • feature/implicit-solver
  • feature/merge-local-dt-fsi
  • v0.5.0 protected
  • v0.4.1 protected
  • v0.4.0 protected
  • v0.3.0 protected
  • v0.2.0 protected
  • v0.1.0 protected
  • Kidder
  • v0.0.4 protected
  • v0.0.3 protected
  • v0.0.2 protected
  • v0 protected
  • v0.0.1 protected
33 results

test_PolynomialBasis.cpp

Blame
  • GmshReader.cpp 68.66 KiB
    #include <GmshReader.hpp>
    #include <PastisMacros.hpp>
    
    #include <iostream>
    #include <fstream>
    #include <set>
    #include <rang.hpp>
    
    #include <CellType.hpp>
    #include <Connectivity.hpp>
    
    #include <Mesh.hpp>
    #include <MeshData.hpp>
    
    #include <RefFaceList.hpp>
    #include <Messenger.hpp>
    #include <Partitioner.hpp>
    
    #include <ArrayUtils.hpp>
    
    #include <unordered_map>
    #include <map>
    #include <regex>
    #include <iomanip>
    
    class ErrorHandler
    {
     public:
      enum Type {
        asked,     /**< execution request by the user*/
        compilation, /**< syntax error in a language */
        normal,    /**< normal error due to a bad use of ff3d */
        unexpected /**< Unexpected execution error */
      };
    
     private:
      const std::string __filename;     /**< The source file name where the error occured */
      const size_t __lineNumber;        /**< The line number where exception was raised */
      const std::string __errorMessage; /**< The reporting message */
    
      const Type __type;                /**< the type of the error */
     public:
      /**
       * Prints the error message
       *
       */
      virtual void writeErrorMessage() const;
    
      /**
       * The copy constructor
       *
       * @param e an handled error
       */
      ErrorHandler(const ErrorHandler& e)
          : __filename(e.__filename),
            __lineNumber(e.__lineNumber),
            __errorMessage(e.__errorMessage),
            __type(e.__type)
      {
        ;
      }
    
      /**
       * Constructor
       *
       * @param filename the source file name
       * @param lineNumber the source line
       * @param errorMessage the reported message
       * @param type the type of the error
       */