Changeset 11120
- Timestamp:
- 01/17/12 08:04:57 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/ad/todo
r11119 r11120 6 6 Switch to metis 5.0 7 7 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. 8 Hard stuff: 9 wrap MatSetValues and MatAssembly into one routine. 10 To do so, store Ke matrices into elements, do not add to global. 11 Once all the Ke are built, loop through them and do all the MatSetValues 12 at once, followed by MatAssembly. 13 Do the same for VecSet and VecAssembly. 11 14 12 Preprocessing configuration of the data type wrappers to petsc or adouble or double* 15 Wrap all Petsc data types Matrix and Vector objects, and map all operations 16 onto these new objects. Make this preprocessable for configuration using autotools. 17 We will probably duplicate data, ex: 13 18 19 Matrix{ 20 ifdef PETSC_WRAPPER 21 Mat pmatrix; 22 endif 23 ifdef DOUBLE_WRAPPER 24 double* pmatrix; 25 endif 26 adouble* amatrix; 27 } 28 29 amatrix will be used in adolc. pmatrix will be used in Petsc routines. Matrix will 30 have routines to map one into the other.
Note:
See TracChangeset
for help on using the changeset viewer.