Ignore:
Timestamp:
08/31/12 17:23:24 (13 years ago)
Author:
Eric.Larour
Message:

NEW: large change to the code, to adapt to ADOLC requirements.

This change relates to the introduction of template classes and functions for the
Option.h abstract class. This is needed, because we want to make the Matlab
API independent from the libCore objects, which are dependent on the IssmDouble*
ADOLC type (adouble), when the Matlab API is dependent on the IssmPDouble* type (double).

To make them independent, we need to be able to specify at run time Options, Matrix and
Vector objects that hold either IssmDouble or IssmPDouble objects. The only way to do
that is through the use of templated classes for Option.h, Matrix and Vector.

The change gets rid of a lot of useless code (especially in the classes/objects/Options
directory), by introducing template versions of the same code.

The bulk of the changes to src/modules and src/mex modules is to adapt to this
new runtime declaration of templated Matrix, Vector and Option objects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/Makefile.am

    r13185 r13216  
    132132                                        ./classes/matrix/ElementVector.cpp\
    133133                                        ./classes/matrix/Matrix.h\
    134                                         ./classes/matrix/Matrix.cpp\
    135134                                        ./classes/matrix/Vector.h\
    136                                         ./classes/matrix/Vector.cpp\
    137135                                        ./classes/objects/Params/Param.h\
    138136                                        ./classes/objects/Params/GenericParam.h\
     
    237235                                        ./toolkits/issm/issmtoolkit.h\
    238236                                        ./toolkits/issm/SeqVec.h\
    239                                         ./toolkits/issm/SeqVec.cpp\
    240237                                        ./toolkits/issm/SeqMat.h\
    241                                         ./toolkits/issm/SeqMat.cpp\
    242238                                        ./toolkits/triangle/triangleincludes.h\
    243239                                        ./toolkitsenums.h\
     
    360356                                        ./solvers/solver_nonlinear.cpp\
    361357                                        ./solvers/solver_newton.cpp\
    362                                         ./classes/objects/Options/Option.cpp\
    363358                                        ./classes/objects/Options/Option.h\
    364                                         ./classes/objects/Options/OptionDouble.cpp\
    365                                         ./classes/objects/Options/OptionDouble.h\
    366                                         ./classes/objects/Options/OptionChar.cpp\
    367                                         ./classes/objects/Options/OptionChar.h\
     359                                        ./classes/objects/Options/GenericOption.h\
    368360                                        ./classes/objects/Options/OptionUtilities.cpp\
    369                                         ./classes/objects/Options/OptionUtilities.h\
    370                                         ./classes/objects/Options/OptionLogical.cpp\
    371                                         ./classes/objects/Options/OptionLogical.h\
    372                                         ./classes/objects/Options/OptionStruct.cpp\
    373                                         ./classes/objects/Options/OptionStruct.h\
    374                                         ./classes/objects/Options/OptionCell.cpp\
    375                                         ./classes/objects/Options/OptionCell.h
     361                                        ./classes/objects/Options/OptionUtilities.h
    376362
    377363#}}}
Note: See TracChangeset for help on using the changeset viewer.