Skip to content
Snippets Groups Projects
Select Git revision
  • 4519ce5523885b5134b933860f5c853055be4185
  • master default
  • cgnsUnstructured
  • partitioning
  • poppler
  • HighOrderBLCurving
  • gmsh_3_0_4
  • gmsh_3_0_3
  • gmsh_3_0_2
  • gmsh_3_0_1
  • gmsh_3_0_0
  • gmsh_2_16_0
  • gmsh_2_15_0
  • gmsh_2_14_1
  • gmsh_2_14_0
  • gmsh_2_13_2
  • gmsh_2_13_1
  • gmsh_2_12_0
  • gmsh_2_11_0
  • gmsh_2_10_1
  • gmsh_2_10_0
  • gmsh_2_9_3
  • gmsh_2_9_2
  • gmsh_2_9_1
  • gmsh_2_9_0
  • gmsh_2_8_6
26 results

PostProViewController.h

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    Subproblem3D.cpp 61.99 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";