Skip to content
Snippets Groups Projects
Select Git revision
  • 1da70a8bb99b3a1a5a66fe64b67b43976c455246
  • master default protected
  • 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
  • 3023-Fillet2D-Update
  • convert_fdivs
  • 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

Pair.h

Blame
  • Subproblem3D.cpp 57.43 KiB
    #include "Subproblem3D.h"
    
    using gmshfem::equation::dof;
    using gmshfem::equation::tf;
    using gmshfem::function::operator-;
    using gmshfem::function::operator+;
    using gmshfem::function::operator*;
    
    namespace D3 {
    
    
      // **********************************
      // Boundary
      // **********************************
    
      Boundary::Boundary(const unsigned int boundary) : _boundary(boundary)
      {
      }
    
      Boundary::~Boundary()
      {
      }
    
      std::string Boundary::orientation() const
      {
        switch (_boundary) {
          case 0:
            return "E";
            break;
          case 1:
            return "N";
            break;
          case 2:
            return "W";
            break;
          case 3:
            return "S";
            break;
          case 4:
            return "D";
            break;
          case 5:
            return "U";
            break;
          default:
            break;
        }
        return "null";
      }
      
      // **********************************
      // Edge
      // **********************************
    
      Edge::Edge(const unsigned int edge, Boundary *first, Boundary *second) : _edge(edge), _bnd {first, second}
      {
      }
    
      Edge::~Edge()
      {
      }
    
      std::string Edge::orientation() const
      {
        switch (_edge) {
          case 0:
            return "ED";
            break;
          case 1:
            return "ND";