Advertisement
Guest User

Untitled

a guest
Jun 29th, 2015
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.81 KB | None | 0 0
  1. #ifndef __GLOBAL_H__
  2. #define __GLOBAL_H__
  3. #include <petscksp.h>
  4. /**@file
  5.  * This file contains all global variables and is used for the function
  6.  * spaces.
  7.  */
  8.  
  9.  /* define the function space pointers as global variables so they can be accessed */
  10.  /* from anywhere. In order to be able to use them, they need to be initialized */
  11.  /* as well. This is done with the function fe_initialize*/
  12.  extern PetscScalar (*P1[6])(PetscScalar, PetscScalar);
  13.  extern PetscScalar (*P2[6])(PetscScalar, PetscScalar);
  14.  extern PetscScalar (*D1_P1[6])(PetscScalar, PetscScalar);
  15.  extern PetscScalar (*D2_P1[6])(PetscScalar, PetscScalar);
  16.  extern PetscScalar (*D1_P2[6])(PetscScalar, PetscScalar);
  17.  extern PetscScalar (*D2_P2[6])(PetscScalar, PetscScalar);
  18.  extern PetscScalar (*LAP_P2[6])(PetscScalar, PetscScalar);
  19.  
  20.  #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement