Changeset 8385
- Timestamp:
- 05/20/11 21:09:00 (14 years ago)
- Location:
- issm/trunk/src/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/modules/modules.h
r8330 r8385 1 /*! \file issm.h:1 /*! \file modules.h: 2 2 * \brief header file for all the ISSM modules 3 3 */ -
issm/trunk/src/c/solutions/controltao_core.cpp
r8285 r8385 2 2 * \brief: core of the control solution 3 3 */ 4 #ifdef HAVE_CONFIG_H 5 #include "config.h" 6 #else 7 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!" 8 #endif 9 10 #include "../toolkits/toolkits.h" 11 #include "../objects/objects.h" 12 #include "../shared/shared.h" 13 #include "../EnumDefinitions/EnumDefinitions.h" 14 #include "./solutions.h" 15 #include "../modules/modules.h" 16 #include "../include/include.h" 17 #include "../solvers/solvers.h" 18 4 #include "../issm.h" 19 5 #ifdef _HAVE_TAO_ 20 6 #include "tao.h" … … 55 41 double* J=NULL; 56 42 57 printf("I am in TAO!!\n"); 58 TaoInitialize(0,0,0,0); 43 #ifdef _HAVE_TAO_ 44 int argc; 45 char **args; 46 PetscGetArgs(&argc,&args); 47 int ierr=TaoInitialize(&argc,&args,(char*)0,""); 48 if(ierr) _error_("Could not initialize Tao"); 49 #endif 59 50 60 51 /*Recover parameters used throughout the solution:{{{1*/
Note:
See TracChangeset
for help on using the changeset viewer.