Skip to content
Snippets Groups Projects
Select Git revision
  • 94d80bb82f523abcbf26b89346cef4d3d9d9a997
  • 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

HilbertCurve.h

Blame
  • functionDerivator.h 511 B
    #ifndef _FUNCTION_DERIVATOR_H_
    #define _FUNCTION_DERIVATOR_H_
    
    #include "fullMatrix.h"
    #include "function.h"
    
    class functionDerivator {
      dataCacheDouble &_f,&_x;
      fullMatrix<double> _fRef, _xRef, _dfdx;
      double _epsilon;
      public:
      functionDerivator (dataCacheDouble &f, dataCacheDouble &x, double epsilon):
        _f(f),
        _x(x),
        _epsilon(epsilon)
        {}
      const fullMatrix<double> &compute();
      inline double get(int iQP, int iF, int iX) 
      {
        return _dfdx(iQP, iF*_xRef.size2()+iX);
      }
    };
    
    #endif