Skip to content
Snippets Groups Projects
Select Git revision
  • 83a1a852b7405612e563efb02171b0ceb3bc2f5e
  • master default protected
  • patch_releases_4_14
  • overlaps_tags_and_distributed_export
  • overlaps_tags_and_distributed_export_rebased
  • relaying
  • alphashapes
  • steplayer
  • bl
  • pluginMeshQuality
  • fixBugsAmaury
  • hierarchical-basis
  • new_export_boris
  • oras_vs_osm
  • reassign_partitions
  • distributed_fwi
  • rename-classes
  • fix/fortran-api-example-t4
  • robust_partitions
  • reducing_files
  • fix_overlaps
  • 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

orthogonalBasis.h

Blame
  • pyramidalBasis.h 984 B
    // Gmsh - Copyright (C) 1997-2019 C. Geuzaine, J.-F. Remacle
    //
    // See the LICENSE.txt file for license information. Please report all
    // issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
    
    #ifndef PYRAMIDALBASIS_H
    #define PYRAMIDALBASIS_H
    
    #include "fullMatrix.h"
    #include "nodalBasis.h"
    #include "BergotBasis.h"
    
    class pyramidalBasis : public nodalBasis {
    private:
      // Orthogonal basis for the pyramid
      BergotBasis *bergot;
      fullMatrix<double> bergotCoefficients;
    
    public:
      fullMatrix<double> coefficients;
      fullMatrix<double> monomials;
    
    public:
      pyramidalBasis(int tag);
      ~pyramidalBasis();
      virtual void f(double u, double v, double w, double *val) const;
      virtual void f(const fullMatrix<double> &coord, fullMatrix<double> &sf) const;
      virtual void df(double u, double v, double w, double grads[][3]) const;
      virtual void df(const fullMatrix<double> &coord,
                      fullMatrix<double> &dfm) const;
      virtual int getNumShapeFunctions() const;
    };
    
    #endif