#define MIN(x, y) (((x) < (y)) ? (x) : (y)) #define MAX(x, y) (((x) > (y)) ? (x) : (y)) #include #include #include #include "petscmat.h" #include "petsc_matvec_utils.h" #include "tmm_main.h" #include "tmm_forcing_utils.h" #include "tmm_profile_utils.h" #include "tmm_profile_data.h" #undef __FUNCT__ #define __FUNCT__ "iniExternalForcing" PetscErrorCode iniExternalForcing(PetscScalar tc, PetscInt Iter, PetscInt numTracers, Vec *v, Vec *ut) { PetscErrorCode ierr; /* Add your code here */ return 0; } #undef __FUNCT__ #define __FUNCT__ "calcExternalForcing" PetscErrorCode calcExternalForcing(PetscScalar tc, PetscInt Iter, PetscInt iLoop, PetscInt numTracers, Vec *v, Vec *ut) { PetscErrorCode ierr; /* Add your code here */ return 0; } #undef __FUNCT__ #define __FUNCT__ "writeExternalForcing" PetscErrorCode writeExternalForcing(PetscScalar tc, PetscInt iLoop, PetscInt numTracers, Vec *v, Vec *ut) { PetscErrorCode ierr; /* Add your code here */ return 0; } #undef __FUNCT__ #define __FUNCT__ "finalizeExternalForcing" PetscErrorCode finalizeExternalForcing(PetscScalar tc, PetscInt Iter, PetscInt numTracers) { PetscErrorCode ierr; /* Add your code here */ return 0; } #undef __FUNCT__ #define __FUNCT__ "reInitializeExternalForcing" PetscErrorCode reInitializeExternalForcing(PetscScalar tc, PetscInt Iter, PetscInt numTracers, Vec *v, Vec *ut) { PetscErrorCode ierr; /* Add your code here */ return 0; }