Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef __GLOBAL_H__
- #define __GLOBAL_H__
- #include <petscksp.h>
- /**@file
- * This file contains all global variables and is used for the function
- * spaces.
- */
- /* define the function space pointers as global variables so they can be accessed */
- /* from anywhere. In order to be able to use them, they need to be initialized */
- /* as well. This is done with the function fe_initialize*/
- extern PetscScalar (*P1[6])(PetscScalar, PetscScalar);
- extern PetscScalar (*P2[6])(PetscScalar, PetscScalar);
- extern PetscScalar (*D1_P1[6])(PetscScalar, PetscScalar);
- extern PetscScalar (*D2_P1[6])(PetscScalar, PetscScalar);
- extern PetscScalar (*D1_P2[6])(PetscScalar, PetscScalar);
- extern PetscScalar (*D2_P2[6])(PetscScalar, PetscScalar);
- extern PetscScalar (*LAP_P2[6])(PetscScalar, PetscScalar);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement