Changeset 24240 for issm/trunk-jpl/src/c/toolkits/petsc/objects/PetscVec.h
- Timestamp:
- 10/17/19 06:03:43 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/toolkits/petsc/objects/PetscVec.h
r23643 r24240 1 1 /*!\file: PetscVec.h 2 * \brief wrapper to our own PetscVec object, which is needed to add AD capabilities (using ADOLC) 3 * to a C-coded Petsc API. We are just wrapping the Petsc objects into C++ equivalent, so that 2 * \brief wrapper to our own PetscVec object, which is needed to add AD capabilities (using ADOLC) 3 * to a C-coded Petsc API. We are just wrapping the Petsc objects into C++ equivalent, so that 4 4 * later, we can map all of the Petsc routines into Adolc equivalents. 5 */ 5 */ 6 6 7 7 #ifndef _PETSCVEC_H_ … … 57 57 IssmDouble Max(void); 58 58 void Scale(IssmDouble scale_factor); 59 void Pow(IssmDouble scale_factor); 59 60 void PointwiseDivide(PetscVec* x,PetscVec* y); 61 void PointwiseMult(PetscVec* x,PetscVec* y); 60 62 IssmDouble Dot(PetscVec* vector); 61 63 };
Note:
See TracChangeset
for help on using the changeset viewer.