Actual source code: petscvec.h
petsc-3.7.1 2016-05-15
Report Typos and Errors

      1: !
      2: !
      3: !  Include file for Fortran use of the Vec package in PETSc
      4: !
     5:  #include petsc/finclude/petscvecdef.h
      6: !
      7: !
      8: !  Types of vector and matrix norms
      9: !
     10:       PetscEnum NORM_1
     11:       PetscEnum NORM_2
     12:       PetscEnum NORM_FROBENIUS
     13:       PetscEnum NORM_INFINITY
     14:       PetscEnum NORM_MAX
     15:       PetscEnum NORM_1_AND_2

     17:       parameter (NORM_1=0,NORM_2=1,NORM_FROBENIUS=2,NORM_INFINITY=3)
     18:       parameter (NORM_MAX=3,NORM_1_AND_2=4)
     19: !
     20: !  Flags for VecSetValues() and MatSetValues()
     21: !
     22:       PetscEnum NOT_SET_VALUES
     23:       PetscEnum INSERT_VALUES
     24:       PetscEnum ADD_VALUES
     25:       PetscEnum MAX_VALUES
     26:       PetscEnum INSERT_ALL_VALUES
     27:       PetscEnum ADD_ALL_VALUES
     28:       PetscEnum INSERT_BC_VALUES
     29:       PetscEnum ADD_BC_VALUES

     31:       parameter (NOT_SET_VALUES=0,INSERT_VALUES=1,ADD_VALUES=2)
     32:       parameter (MAX_VALUES=3)
     33:       parameter (INSERT_ALL_VALUES=4,ADD_ALL_VALUES=5)
     34:       parameter (INSERT_BC_VALUES=6,ADD_BC_VALUES=7)
     35: !
     36: !  Types of vector scatters
     37: !
     38:       PetscEnum SCATTER_FORWARD
     39:       PetscEnum SCATTER_REVERSE
     40:       PetscEnum SCATTER_FORWARD_LOCAL
     41:       PetscEnum SCATTER_REVERSE_LOCAL
     42:       PetscEnum SCATTER_LOCAL

     44:       parameter (SCATTER_FORWARD=0,SCATTER_REVERSE=1)
     45:       parameter (SCATTER_FORWARD_LOCAL=2,SCATTER_REVERSE_LOCAL=3)
     46:       parameter (SCATTER_LOCAL=2)
     47: !
     48: !  VecOption
     49: !
     50:       PetscEnum VEC_IGNORE_OFF_PROC_ENTRIES
     51:       PetscEnum VEC_IGNORE_NEGATIVE_INDICES
     52:       PetscEnum VEC_SUBSET_OFF_PROC_ENTRIES

     54:       parameter (VEC_IGNORE_OFF_PROC_ENTRIES=0)
     55:       parameter (VEC_IGNORE_NEGATIVE_INDICES=1)
     56:       parameter (VEC_SUBSET_OFF_PROC_ENTRIES=2)

     58: !
     59: !  VecOperation
     60: !
     61:       PetscEnum VECOP_DUPLICATE
     62:       PetscEnum VECOP_VIEW
     63:       PetscEnum VECOP_LOAD
     64:       PetscEnum VECOP_VIEWNATIVE
     65:       PetscEnum VECOP_LOADNATIVE

     67:       parameter (VECOP_DUPLICATE=0,VECOP_VIEW=33,VECOP_LOAD=41)
     68:       parameter (VECOP_VIEWNATIVE=68,VECOP_LOADNATIVE=69)
     69: !
     70: !  End of Fortran include file for the Vec package in PETSc