Changeset 11120


Ignore:
Timestamp:
01/17/12 08:04:57 (13 years ago)
Author:
Eric.Larour
Message:

Game plan to ad

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/ad/todo

    r11119 r11120  
    66Switch to metis 5.0
    77
    8 Wrap MatSet and MatAssembly.
    9 Wrapper around Petsc data types and Petsc calls to separate derivative data
    10 and normal data understood by Petsc.
     8Hard stuff:
     9wrap MatSetValues and MatAssembly into one routine.
     10To do so, store Ke matrices into elements, do not add to global.
     11Once all the Ke are built, loop through them and do all the MatSetValues
     12at once, followed by MatAssembly.
     13Do the same for VecSet and VecAssembly.
    1114
    12 Preprocessing configuration of the data type wrappers to petsc or adouble or double*
     15Wrap all Petsc data types Matrix and Vector objects, and map all operations
     16onto these new objects.  Make this preprocessable for configuration using autotools.
     17We will probably duplicate data, ex:
    1318
     19Matrix{
     20        ifdef  PETSC_WRAPPER
     21        Mat pmatrix;
     22        endif
     23        ifdef  DOUBLE_WRAPPER
     24        double* pmatrix;
     25        endif
     26        adouble* amatrix;
     27}
     28
     29amatrix will be used in adolc. pmatrix will be used in Petsc routines. Matrix will
     30have routines to map one into the other.
Note: See TracChangeset for help on using the changeset viewer.