Ignore:
Timestamp:
10/17/19 06:03:43 (5 years ago)
Author:
bdef
Message:

Adding a substeping framework in hydro and part of smb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/toolkits/petsc/objects/PetscVec.h

    r23643 r24240  
    11/*!\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
    44 * later, we can map all of the Petsc routines into Adolc equivalents.
    5  */ 
     5 */
    66
    77#ifndef _PETSCVEC_H_
     
    5757                IssmDouble  Max(void);
    5858                void        Scale(IssmDouble scale_factor);
     59                void        Pow(IssmDouble scale_factor);
    5960                void        PointwiseDivide(PetscVec* x,PetscVec* y);
     61                void        PointwiseMult(PetscVec* x,PetscVec* y);
    6062                IssmDouble  Dot(PetscVec* vector);
    6163};
Note: See TracChangeset for help on using the changeset viewer.