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

FuncSpaceData.h

Blame
  • gmm_def.h 45.12 KiB
    // -*- c++ -*- (enables emacs c++ mode)
    //===========================================================================
    //
    // Copyright (C) 2002-2008 Yves Renard
    //
    // This file is a part of GETFEM++
    //
    // Getfem++  is  free software;  you  can  redistribute  it  and/or modify it
    // under  the  terms  of the  GNU  Lesser General Public License as published
    // by  the  Free Software Foundation;  either version 2.1 of the License,  or
    // (at your option) any later version.
    // This program  is  distributed  in  the  hope  that it will be useful,  but
    // WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    // or  FITNESS  FOR  A PARTICULAR PURPOSE.  See the GNU Lesser General Public
    // License for more details.
    // You  should  have received a copy of the GNU Lesser General Public License
    // along  with  this program;  if not, write to the Free Software Foundation,
    // Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA.
    //
    // As a special exception, you may use this file as part of a free software
    // library without restriction.  Specifically, if other files instantiate
    // templates or use macros or inline functions from this file, or you compile
    // this file and link it with other files to produce an executable, this
    // file does not by itself cause the resulting executable to be covered by
    // the GNU General Public License.  This exception does not however
    // invalidate any other reasons why the executable file might be covered by
    // the GNU General Public License.
    //
    //===========================================================================
    
    /**@file gmm_def.h
       @author  Yves Renard <Yves.Renard@insa-lyon.fr>
       @date October 13, 2002.
       @brief Basic definitions and tools of GMM.
    */
    #ifndef GMM_DEF_H__
    #define GMM_DEF_H__
    
    #include "gmm_ref.h"
    #include <complex>
    
    #ifndef M_PI
    # define	M_E		2.7182818284590452354       /* e          */
    # define	M_LOG2E		1.4426950408889634074       /* 1/ln(2)    */
    # define	M_LOG10E	0.43429448190325182765      /* 1/ln(10)   */
    # define	M_LN2		0.69314718055994530942      /* ln(2)      */
    # define	M_LN10		2.30258509299404568402      /* ln(10)     */
    # define	M_PI		3.14159265358979323846      /* pi         */
    # define	M_PI_2		1.57079632679489661923      /* pi/2       */
    # define	M_PI_4		0.78539816339744830962      /* pi/4       */
    # define	M_1_PI		0.31830988618379067154      /* 1/pi       */
    # define	M_2_PI		0.63661977236758134308      /* 2/pi       */
    # define	M_2_SQRTPI	1.12837916709551257390      /* 2/sqrt(pi) */
    # define	M_SQRT2		1.41421356237309504880      /* sqrt(2)    */
    # define	M_SQRT1_2	0.70710678118654752440      /* sqrt(2)/2  */
    #endif 
    
    #ifndef M_PIl
    # define M_PIl       3.1415926535897932384626433832795029L  /* pi         */
    # define M_PI_2l     1.5707963267948966192313216916397514L  /* pi/2       */
    # define M_PI_4l     0.7853981633974483096156608458198757L  /* pi/4       */
    # define M_1_PIl     0.3183098861837906715377675267450287L  /* 1/pi       */
    # define M_2_PIl     0.6366197723675813430755350534900574L  /* 2/pi       */
    # define M_2_SQRTPIl 1.1283791670955125738961589031215452L  /* 2/sqrt(pi) */
    #endif
    
    namespace gmm {
    
      typedef size_t size_type;