source: issm/oecreview/Archive/11648-11666/ISSM-11664-11665.diff@ 11991

Last change on this file since 11991 was 11991, checked in by Eric.Larour, 13 years ago

oecreview from 11518 to present

File size: 43.4 KB
  • proj/ice/larour/issm-uci-clean/trunk-jpl/src/c/Makefile.am

     
    929929issm_SOURCES = solutions/issm.cpp
    930930issm_CXXFLAGS= -fPIC -D_PARALLEL_  $(CXXFLAGS) $(CXXOPTFLAGS) $(COPTFLAGS)
    931931#}}}
     932#Automatic differentiation: append this fold to the end of the src/c/Makefile.am to get this Makefile.am {{{
     933if ADIC2
     934lib_LIBRARIES += libAD.a libpISSMRose.a
     935
     936#ADIC2 library, for automatic differentiation
     937#libAD_a_SOURCES = ./mini1.ad.c
     938libAD_a_SOURCES =
     939libAD_a_CFLAGS = -fPIC -D_PARALLEL_   -D_C_ $(COPTFLAGS)
     940
     941
     942
     943#test rose preprocessing
     944%.r2cpp.cpp : %.cpp
     945        testTranslator -rose:o $@ -rose:skipfinalCompileStep -DHAVE_CONFIG_H -D_PARALLEL_ -D_C_ -I. -I../.. $(INCLUDES) $<
     946libpISSMRose_a_SOURCES = $(libpISSM_a_SOURCES:.cpp=.r2cpp.cpp)
     947libpISSMRose_a_CXXFLAGS= -fPIC -D_PARALLEL_ -D_C_ $(CXXOPTFLAGS)
     948
     949
     950
     951#Automatic differentiation rules:
     952%.ad.c: %.c
     953        adic2 -mforward  $< --nary
     954
     955
     956
     957#Executable
     958bin_PROGRAMS +=  issmRose.exe
     959issmRose_exe_LDADD = ./libpISSMRose.a $(LDADD)
     960issmRose_exe_SOURCES = solutions/issm.cpp
     961issmRose_exe_CXXFLAGS= -fPIC -D_PARALLEL_  $(CXXOPTFLAGS) $(COPTFLAGS)
     962LDADD +=  $(ADIC2LIB)
     963
     964endif #}}}
  • proj/ice/larour/issm-uci-clean/trunk-jpl/src/ad/softlink.sh

     
    1 #/bin/bash
    2 #This script soflinks all files in trunk/src/c/ directory necessary for compilation
    3 #of trunk/src/ad/
    4 ln -s ../c/include
    5 ln -s ../c/objects
    6 ln -s ../c/Container
    7 ln -s ../c/shared
    8 ln -s ../c/toolkits
    9 ln -s ../c/io
    10 ln -s ../c/EnumDefinitions
    11 ln -s ../c/modules
    12 ln -s ../c/solutions
    13 ln -s ../c/solvers
    14 ln -s ../c/issm.h
  • proj/ice/larour/issm-uci-clean/trunk-jpl/src/ad/Makefile.am

     
    1 INCLUDES = @DAKOTAINCL@ @SHAPELIBINCL@ @PETSCINCL@ @SLEPCINCL@ @MPIINCL@ @MATLABINCL@  @METISINCL@  @CHACOINCL@ @SCOTCHINCL@ @PLAPACKINCL@  @BLASLAPACKINCL@ @MKLINCL@ @MUMPSINCL@  @TRIANGLEINCL@ @HYPREINCL@ @MLINCL@ @TAOINCL@
    2 EXEEXT=$(ISSMEXT)
    3 
    4 #Library declaration {{{1
    5 #Compile serial library, and then try and compile parallel library
    6 if NOSERIAL
    7 if NOPARALLEL
    8 lib_LIBRARIES =
    9 else
    10 lib_LIBRARIES = libpISSM.a libOverload.a
    11 endif
    12 else
    13 if NOPARALLEL
    14 lib_LIBRARIES = libISSM.a  libOverload.a
    15 else
    16 lib_LIBRARIES = libISSM.a libpISSM.a libOverload.a
    17 endif
    18 endif
    19 #}}}
    20 
    21 #sources
    22 #Core sources{{{1
    23 core_sources   = ./include/macros.h\
    24                                         ./include/typedefs.h\
    25                                         ./include/types.h\
    26                                         ./include/include.h\
    27                                         ./objects/objects.h\
    28                                         ./objects/Object.h\
    29                                         ./objects/Gauss/GaussTria.h\
    30                                         ./objects/Gauss/GaussTria.cpp\
    31                                         ./objects/Update.h\
    32                                         ./objects/Element.h\
    33                                         ./objects/FemModel.h\
    34                                         ./objects/FemModel.cpp\
    35                                         ./objects/Material.h\
    36                                         ./objects/Load.h\
    37                                         ./objects/Contour.h\
    38                                         ./objects/Contour.cpp\
    39                                         ./objects/OptArgs.h\
    40                                         ./objects/OptPars.h\
    41                                         ./objects/Loads/Friction.h\
    42                                         ./objects/Loads/Friction.cpp\
    43                                         ./objects/Inputs/TransientInput.h\
    44                                         ./objects/Inputs/TransientInput.cpp\
    45                                         ./objects/Constraints/SpcTransient.cpp\
    46                                         ./objects/Constraints/SpcTransient.h\
    47                                         ./objects/DofIndexing.h\
    48                                         ./objects/DofIndexing.cpp\
    49                                         ./objects/IoModel.h\
    50                                         ./objects/IoModel.cpp\
    51                                         ./objects/Node.h\
    52                                         ./objects/Node.cpp\
    53                                         ./objects/Segment.h\
    54                                         ./objects/Segment.cpp\
    55                                         ./objects/Vertex.h\
    56                                         ./objects/Vertex.cpp\
    57                                         ./objects/Hook.h\
    58                                         ./objects/Hook.cpp\
    59                                         ./objects/Patch.h\
    60                                         ./objects/Patch.cpp\
    61                                         ./objects/ElementResults/ElementResultLocal.h\
    62                                         ./objects/ElementResults/DoubleElementResult.h\
    63                                         ./objects/ElementResults/DoubleElementResult.cpp\
    64                                         ./objects/ElementResults/TriaP1ElementResult.h\
    65                                         ./objects/ElementResults/TriaP1ElementResult.cpp\
    66                                         ./objects/ElementResults/BoolElementResult.h\
    67                                         ./objects/ElementResults/BoolElementResult.cpp\
    68                                         ./objects/ExternalResults/ExternalResult.h\
    69                                         ./objects/ExternalResults/BoolExternalResult.h\
    70                                         ./objects/ExternalResults/BoolExternalResult.cpp\
    71                                         ./objects/ExternalResults/DoubleExternalResult.h\
    72                                         ./objects/ExternalResults/DoubleExternalResult.cpp\
    73                                         ./objects/ExternalResults/DoubleVecExternalResult.h\
    74                                         ./objects/ExternalResults/DoubleVecExternalResult.cpp\
    75                                         ./objects/ExternalResults/DoubleMatExternalResult.h\
    76                                         ./objects/ExternalResults/DoubleMatExternalResult.cpp\
    77                                         ./objects/ExternalResults/IntExternalResult.h\
    78                                         ./objects/ExternalResults/IntExternalResult.cpp\
    79                                         ./objects/ExternalResults/StringExternalResult.h\
    80                                         ./objects/ExternalResults/StringExternalResult.cpp\
    81                                         ./objects/ExternalResults/PetscVecExternalResult.h\
    82                                         ./objects/ExternalResults/PetscVecExternalResult.cpp\
    83                                         ./objects/Elements/Tria.h\
    84                                         ./objects/Elements/Tria.cpp\
    85                                         ./objects/Elements/TriaHook.h\
    86                                         ./objects/Elements/TriaHook.cpp\
    87                                         ./objects/Elements/TriaRef.h\
    88                                         ./objects/Elements/TriaRef.cpp\
    89                                         ./objects/Inputs/Input.h\
    90                                         ./objects/Inputs/InputLocal.h\
    91                                         ./objects/Inputs/TriaP1Input.h\
    92                                         ./objects/Inputs/TriaP1Input.cpp\
    93                                         ./objects/Inputs/BoolInput.h\
    94                                         ./objects/Inputs/BoolInput.cpp\
    95                                         ./objects/Inputs/IntInput.h\
    96                                         ./objects/Inputs/IntInput.cpp\
    97                                         ./objects/Inputs/DoubleInput.h\
    98                                         ./objects/Inputs/DoubleInput.cpp\
    99                                         ./objects/Inputs/DatasetInput.h\
    100                                         ./objects/Inputs/DatasetInput.cpp\
    101                                         ./objects/Materials/Matice.h\
    102                                         ./objects/Materials/Matice.cpp\
    103                                         ./objects/Materials/Matpar.h\
    104                                         ./objects/Materials/Matpar.cpp\
    105                                         ./objects/Constraints/Constraint.h\
    106                                         ./objects/Constraints/SpcStatic.cpp\
    107                                         ./objects/Constraints/SpcStatic.h\
    108                                         ./objects/Constraints/SpcDynamic.cpp\
    109                                         ./objects/Constraints/SpcDynamic.h\
    110                                         ./objects/Loads/Penpair.cpp\
    111                                         ./objects/Loads/Penpair.h\
    112                                         ./objects/Loads/Pengrid.cpp\
    113                                         ./objects/Loads/Pengrid.h\
    114                                         ./objects/Loads/Icefront.cpp\
    115                                         ./objects/Loads/Icefront.h\
    116                                         ./objects/Loads/Numericalflux.cpp\
    117                                         ./objects/Loads/Numericalflux.h\
    118                                         ./objects/Numerics/ElementMatrix.h\
    119                                         ./objects/Numerics/ElementMatrix.cpp\
    120                                         ./objects/Numerics/ElementVector.h\
    121                                         ./objects/Numerics/ElementVector.cpp\
    122                                         ./objects/Params/Param.h\
    123                                         ./objects/Params/BoolParam.cpp\
    124                                         ./objects/Params/BoolParam.h\
    125                                         ./objects/Params/IntParam.cpp\
    126                                         ./objects/Params/IntParam.h\
    127                                         ./objects/Params/IntVecParam.cpp\
    128                                         ./objects/Params/IntVecParam.h\
    129                                         ./objects/Params/IntMatParam.cpp\
    130                                         ./objects/Params/IntMatParam.h\
    131                                         ./objects/Params/DoubleParam.cpp\
    132                                         ./objects/Params/DoubleParam.h\
    133                                         ./objects/Params/FileParam.cpp\
    134                                         ./objects/Params/FileParam.h\
    135                                         ./objects/Params/PetscMatParam.cpp\
    136                                         ./objects/Params/PetscMatParam.h\
    137                                         ./objects/Params/StringArrayParam.cpp\
    138                                         ./objects/Params/StringArrayParam.h\
    139                                         ./objects/Params/DoubleMatParam.cpp\
    140                                         ./objects/Params/DoubleMatParam.h\
    141                                         ./objects/Params/DoubleTransientMatParam.cpp\
    142                                         ./objects/Params/DoubleTransientMatParam.h\
    143                                         ./objects/Params/DoubleMatArrayParam.cpp\
    144                                         ./objects/Params/DoubleMatArrayParam.h\
    145                                         ./objects/Params/DoubleVecParam.cpp\
    146                                         ./objects/Params/DoubleVecParam.h\
    147                                         ./objects/Params/PetscVecParam.cpp\
    148                                         ./objects/Params/PetscVecParam.h\
    149                                         ./objects/Params/StringParam.cpp\
    150                                         ./objects/Params/StringParam.h\
    151                                         ./Container/Container.h\
    152                                         ./Container/Constraints.h\
    153                                         ./Container/Constraints.cpp\
    154                                         ./Container/DataSet.h\
    155                                         ./Container/DataSet.cpp\
    156                                         ./Container/Elements.h\
    157                                         ./Container/Elements.cpp\
    158                                         ./Container/Inputs.h\
    159                                         ./Container/Inputs.cpp\
    160                                         ./Container/Loads.h\
    161                                         ./Container/Loads.cpp\
    162                                         ./Container/Materials.h\
    163                                         ./Container/Materials.cpp\
    164                                         ./Container/Nodes.h\
    165                                         ./Container/Nodes.cpp\
    166                                         ./Container/Options.h\
    167                                         ./Container/Options.cpp\
    168                                         ./Container/Parameters.h\
    169                                         ./Container/Parameters.cpp\
    170                                         ./Container/Results.h\
    171                                         ./Container/Results.cpp\
    172                                         ./Container/Vertices.h\
    173                                         ./Container/Vertices.cpp\
    174                                         ./shared/shared.h\
    175                                         ./shared/Alloc/alloc.h\
    176                                         ./shared/Alloc/alloc.cpp\
    177                                         ./shared/Matrix/matrix.h\
    178                                         ./shared/Matrix/MatrixUtils.cpp\
    179                                         ./shared/Dofs/dofs.h\
    180                                         ./shared/Dofs/dofsetgen.cpp\
    181                                         ./shared/Numerics/numerics.h\
    182                                         ./shared/Numerics/Verbosity.h\
    183                                         ./shared/Numerics/Verbosity.cpp\
    184                                         ./shared/Numerics/IsInputConverged.cpp\
    185                                         ./shared/Numerics/GaussPoints.h\
    186                                         ./shared/Numerics/GaussPoints.cpp\
    187                                         ./shared/Numerics/cross.cpp\
    188                                         ./shared/Numerics/isnan.h\
    189                                         ./shared/Numerics/isnan.cpp\
    190                                         ./shared/Numerics/extrema.cpp\
    191                                         ./shared/Numerics/XZvectorsToCoordinateSystem.cpp\
    192                                         ./shared/Numerics/UnitConversion.cpp\
    193                                         ./shared/Numerics/PetscOptionsFromAnalysis.cpp\
    194                                         ./shared/Exceptions/exceptions.h\
    195                                         ./shared/Exceptions/Exceptions.cpp\
    196                                         ./shared/Exceptions/exprintf.cpp\
    197                                         ./shared/Sorting/binary_search.cpp\
    198                                         ./shared/Sorting/sorting.h\
    199                                         ./shared/Elements/elements.h\
    200                                         ./shared/Elements/Paterson.cpp\
    201                                         ./shared/Elements/Arrhenius.cpp\
    202                                         ./shared/Elements/GetVerticesCoordinates.cpp\
    203                                         ./shared/Elements/GetLocalDofList.cpp\
    204                                         ./shared/Elements/GetGlobalDofList.cpp\
    205                                         ./shared/Elements/GetNumberOfDofs.cpp\
    206                                         ./shared/String/sharedstring.h\
    207                                         ./toolkits/petsc\
    208                                         ./toolkits/petsc/patches\
    209                                         ./toolkits/petsc/patches/SolverEnum.h\
    210                                         ./toolkits/petsc/patches/petscpatches.h\
    211                                         ./toolkits/petsc/patches/MatlabMatrixToPetscMatrix.cpp\
    212                                         ./toolkits/petsc/patches/MatlabVectorToPetscVector.cpp\
    213                                         ./toolkits/petsc/patches/PetscMatrixToMatlabMatrix.cpp\
    214                                         ./toolkits/petsc/patches/PetscVectorToMatlabVector.cpp\
    215                                         ./toolkits/petsc/patches/MatlabMatrixToDoubleMatrix.cpp\
    216                                         ./toolkits/petsc/patches/MatlabVectorToDoubleVector.cpp\
    217                                         ./toolkits/petsc/patches/PetscDetermineLocalSize.cpp\
    218                                         ./toolkits/petsc/patches/VecTranspose.cpp\
    219                                         ./toolkits/petsc/patches/VecToMPISerial.cpp\
    220                                         ./toolkits/petsc/patches/MatToSerial.cpp\
    221                                         ./toolkits/petsc/patches/VecMerge.cpp\
    222                                         ./toolkits/petsc/patches/NewVec.cpp\
    223                                         ./toolkits/petsc/patches/PetscOptionsDetermineSolverType.cpp\
    224                                         ./toolkits/petsc/patches/PetscOptionsInsertMultipleString.cpp\
    225                                         ./toolkits/petsc/patches/NewMat.cpp\
    226                                         ./toolkits/petsc/patches/SerialToVec.cpp\
    227                                         ./toolkits/petsc/patches/VecFree.cpp\
    228                                         ./toolkits/petsc/patches/VecDuplicatePatch.cpp\
    229                                         ./toolkits/petsc/patches/KSPFree.cpp\
    230                                         ./toolkits/petsc/patches/ISFree.cpp\
    231                                         ./toolkits/petsc/patches/MatFree.cpp\
    232                                         ./toolkits/petsc/patches/GetOwnershipBoundariesFromRange.cpp\
    233                                         ./toolkits/petsc/patches/VecPartition.cpp\
    234                                         ./toolkits/petsc/patches/MatPartition.cpp\
    235                                         ./toolkits/petsc/patches/MatInvert.cpp\
    236                                         ./toolkits/petsc/patches/MatMultPatch.cpp\
    237                                         ./toolkits/petsc/petscincludes.h\
    238                                         ./toolkits/mpi/mpiincludes.h\
    239                                         ./toolkits/mpi/patches/mpipatches.h\
    240                                         ./toolkits/mpi/patches/MPI_Upperrow.cpp\
    241                                         ./toolkits/mpi/patches/MPI_Lowerrow.cpp\
    242                                         ./toolkits/mpi/patches/MPI_Boundariesfromrange.cpp\
    243                                         ./toolkits/metis/metisincludes.h\
    244                                         ./toolkits/metis/patches/metispatches.h\
    245                                         ./toolkits/metis/patches/METIS_PartMeshNodalPatch.cpp\
    246                                         ./toolkits/triangle/triangleincludes.h\
    247                                         ./toolkits.h\
    248                                         ./io/io.h\
    249                                         ./io/Disk/diskio.h\
    250                                         ./io/Disk/pfopen.cpp\
    251                                         ./io/Disk/pfclose.cpp\
    252                                         ./io/PrintfFunction.cpp\
    253                                         ./EnumDefinitions/EnumDefinitions.h\
    254                                         ./modules/ModelProcessorx/ModelProcessorx.h\
    255                                         ./modules/ModelProcessorx/ModelProcessorx.cpp\
    256                                         ./modules/ModelProcessorx/DistributeNumDofs.cpp\
    257                                         ./modules/ModelProcessorx/ElementsAndVerticesPartitioning.cpp\
    258                                         ./modules/ModelProcessorx/NodesPartitioning.cpp\
    259                                         ./modules/ModelProcessorx/SortDataSets.cpp\
    260                                         ./modules/ModelProcessorx/UpdateCounters.cpp\
    261                                         ./modules/ModelProcessorx/CreateDataSets.cpp\
    262                                         ./modules/ModelProcessorx/CreateParameters.cpp\
    263                                         ./modules/ModelProcessorx/CreateSingleNodeToElementConnectivity.cpp\
    264                                         ./modules/ModelProcessorx/CreateNumberNodeToElementConnectivity.cpp\
    265                                         ./modules/ModelProcessorx/CreateElementsVerticesAndMaterials.cpp\
    266                                         ./modules/ParsePetscOptionsx/ParsePetscOptionsx.h\
    267                                         ./modules/ParsePetscOptionsx/ParsePetscOptionsx.cpp\
    268                                         ./modules/NodesDofx/NodesDofx.h\
    269                                         ./modules/NodesDofx/NodesDofx.cpp\
    270                                         ./modules/NodalValuex/NodalValuex.h\
    271                                         ./modules/NodalValuex/NodalValuex.cpp\
    272                                         ./modules/VerticesDofx/VerticesDofx.h\
    273                                         ./modules/VerticesDofx/VerticesDofx.cpp\
    274                                         ./modules/OutputResultsx/OutputResultsx.h\
    275                                         ./modules/OutputResultsx/OutputResultsx.cpp\
    276                                         ./modules/InputDuplicatex/InputDuplicatex.h\
    277                                         ./modules/InputDuplicatex/InputDuplicatex.cpp\
    278                                         ./modules/InputScalex/InputScalex.h\
    279                                         ./modules/InputScalex/InputScalex.cpp\
    280                                         ./modules/SurfaceAreax/SurfaceAreax.h\
    281                                         ./modules/SurfaceAreax/SurfaceAreax.cpp\
    282                                         ./modules/CreateNodalConstraintsx/CreateNodalConstraintsx.h\
    283                                         ./modules/CreateNodalConstraintsx/CreateNodalConstraintsx.cpp\
    284                                         ./modules/UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.h\
    285                                         ./modules/UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.cpp\
    286                                         ./modules/IoModelToConstraintsx/IoModelToConstraintsx.h\
    287                                         ./modules/IoModelToConstraintsx/IoModelToConstraintsx.cpp\
    288                                         ./modules/InputUpdateFromConstantx/InputUpdateFromConstantx.h\
    289                                         ./modules/InputUpdateFromConstantx/InputUpdateFromConstantx.cpp\
    290                                         ./modules/InputUpdateFromSolutionx/InputUpdateFromSolutionx.h\
    291                                         ./modules/InputUpdateFromSolutionx/InputUpdateFromSolutionx.cpp\
    292                                         ./modules/GetSolutionFromInputsx/GetSolutionFromInputsx.h\
    293                                         ./modules/GetSolutionFromInputsx/GetSolutionFromInputsx.cpp\
    294                                         ./modules/GetVectorFromInputsx/GetVectorFromInputsx.h\
    295                                         ./modules/GetVectorFromInputsx/GetVectorFromInputsx.cpp\
    296                                         ./modules/InputUpdateFromVectorx/InputUpdateFromVectorx.h\
    297                                         ./modules/InputUpdateFromVectorx/InputUpdateFromVectorx.cpp\
    298                                         ./modules/InputArtificialNoisex/InputArtificialNoisex.h\
    299                                         ./modules/InputArtificialNoisex/InputArtificialNoisex.cpp\
    300                                         ./modules/TimeAdaptx/TimeAdaptx.h\
    301                                         ./modules/TimeAdaptx/TimeAdaptx.cpp\
    302                                         ./modules/UpdateVertexPositionsx/UpdateVertexPositionsx.h\
    303                                         ./modules/UpdateVertexPositionsx/UpdateVertexPositionsx.cpp\
    304                                         ./modules/ConfigureObjectsx/ConfigureObjectsx.h\
    305                                         ./modules/ConfigureObjectsx/ConfigureObjectsx.cpp\
    306                                         ./modules/ComputeBasalStressx/ComputeBasalStressx.h\
    307                                         ./modules/ComputeBasalStressx/ComputeBasalStressx.cpp\
    308                                         ./modules/ComputeStrainRatex/ComputeStrainRatex.h\
    309                                         ./modules/ComputeStrainRatex/ComputeStrainRatex.cpp\
    310                                         ./modules/SpcNodesx/SpcNodesx.h\
    311                                         ./modules/SpcNodesx/SpcNodesx.cpp\
    312                                         ./modules/PositiveDegreeDayx/PositiveDegreeDayx.h\
    313                                         ./modules/PositiveDegreeDayx/PositiveDegreeDayx.cpp\
    314                                         ./modules/UpdateConstraintsx/UpdateConstraintsx.h\
    315                                         ./modules/UpdateConstraintsx/UpdateConstraintsx.cpp\
    316                                         ./modules/MeshPartitionx/MeshPartitionx.cpp\
    317                                         ./modules/MeshPartitionx/MeshPartitionx.h\
    318                                         ./modules/Reducevectorgtofx/Reducevectorgtofx.cpp\
    319                                         ./modules/Reducevectorgtofx/Reducevectorgtofx.h\
    320                                         ./modules/Reduceloadx/Reduceloadx.h\
    321                                         ./modules/Reduceloadx/Reduceloadx.cpp\
    322                                         ./modules/EnumToStringx/EnumToStringx.cpp\
    323                                         ./modules/EnumToStringx/EnumToStringx.h\
    324                                         ./modules/StringToEnumx/StringToEnumx.cpp\
    325                                         ./modules/StringToEnumx/StringToEnumx.h\
    326                                         ./modules/SystemMatricesx/SystemMatricesx.cpp\
    327                                         ./modules/SystemMatricesx/SystemMatricesx.h\
    328                                         ./modules/CreateJacobianMatrixx/CreateJacobianMatrixx.cpp\
    329                                         ./modules/CreateJacobianMatrixx/CreateJacobianMatrixx.h\
    330                                         ./modules/ConstraintsStatex/ConstraintsStatex.cpp\
    331                                         ./modules/ConstraintsStatex/ConstraintsStatex.h\
    332                                         ./modules/ConstraintsStatex/ConstraintsStateLocal.h\
    333                                         ./modules/Responsex/Responsex.h\
    334                                         ./modules/Responsex/Responsex.cpp\
    335                                         ./modules/RequestedOutputsx/RequestedOutputsx.h\
    336                                         ./modules/RequestedOutputsx/RequestedOutputsx.cpp\
    337                                         ./modules/ResetConstraintsx/ResetConstraintsx.h\
    338                                         ./modules/ResetConstraintsx/ResetConstraintsx.cpp\
    339                                         ./modules/ResetCoordinateSystemx/ResetCoordinateSystemx.h\
    340                                         ./modules/ResetCoordinateSystemx/ResetCoordinateSystemx.cpp\
    341                                         ./modules/Solverx/Solverx.cpp\
    342                                         ./modules/Solverx/Solverx.h\
    343                                         ./modules/Solverx/DofTypesToIndexSet.cpp\
    344                                         ./modules/VecMergex/VecMergex.cpp\
    345                                         ./modules/VecMergex/VecMergex.h\
    346                                         ./modules/Mergesolutionfromftogx/Mergesolutionfromftogx.cpp\
    347                                         ./modules/Mergesolutionfromftogx/Mergesolutionfromftogx.h\
    348                                         ./modules/InputToResultx/InputToResultx.cpp\
    349                                         ./modules/InputToResultx/InputToResultx.h\
    350                                         ./modules/InputConvergencex/InputConvergencex.cpp\
    351                                         ./modules/InputConvergencex/InputConvergencex.h\
    352                                         ./solutions/convergence.cpp\
    353                                         ./solutions/ProcessArguments.cpp\
    354                                         ./solutions/WriteLockFile.cpp\
    355                                         ./solutions/ResetBoundaryConditions.cpp\
    356                                         ./solutions/AnalysisConfiguration.cpp\
    357                                         ./solutions/CorePointerFromSolutionEnum.cpp\
    358                                         ./solvers/solver_linear.cpp\
    359                                         ./solvers/solver_nonlinear.cpp\
    360                                         ./solvers/solver_newton.cpp
    361 #}}}
    362 #DAKOTA sources  {{{1
    363 dakota_sources = ./objects/DakotaPlugin.h\
    364                                           ./objects/DakotaPlugin.cpp\
    365                                           ./modules/InputUpdateFromDakotax/InputUpdateFromDakotax.h\
    366                                           ./modules/InputUpdateFromDakotax/InputUpdateFromDakotax.cpp\
    367                                           ./modules/DakotaResponsesx/DakotaResponsesx.h\
    368                                           ./modules/DakotaResponsesx/DakotaResponsesx.cpp\
    369                                           ./modules/InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.h\
    370                                           ./modules/InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.cpp\
    371                                           ./modules/InputUpdateFromMatrixDakotax/InputUpdateFromMatrixDakotax.h\
    372                                           ./modules/InputUpdateFromMatrixDakotax/InputUpdateFromMatrixDakotax.cpp\
    373                                           ./modules/AverageOntoPartitionx/AverageOntoPartitionx.cpp\
    374                                           ./modules/AverageOntoPartitionx/AverageOntoPartitionx.h\
    375                                           ./modules/Dakotax/Dakotax.h\
    376                                           ./modules/Dakotax/Dakotax.cpp\
    377                                           ./modules/Dakotax/DakotaMPI_Bcast.cpp\
    378                                           ./modules/Dakotax/DakotaFree.cpp\
    379                                           ./modules/Dakotax/SpawnCore.cpp\
    380                                           ./modules/Dakotax/DescriptorIndex.cpp\
    381                                           ./modules/AverageOntoPartitionx/AverageOntoPartitionx.cpp\
    382                                           ./modules/ModelProcessorx/Dakota/CreateParametersDakota.cpp\
    383                                           ./modules/AverageOntoPartitionx/AverageOntoPartitionx.h
    384 dakota_psources= ./modules/Dakotax/SpawnCoreParallel.cpp
    385 #}}}
    386 #Transient sources  {{{1
    387 transient_sources  = ./modules/ModelProcessorx/Transient/UpdateElementsTransient.cpp
    388 transient_psources = ./solutions/transient_core.cpp
    389 #}}}
    390 #Steadystate sources  {{{1
    391 steadystate_psources = ./solutions/steadystate_core.cpp\
    392                                                 ./solutions/steadystateconvergence.cpp
    393 #}}}
    394 #Prognostic sources  {{{1
    395 prognostic_sources = ./modules/ModelProcessorx/Prognostic/UpdateElementsPrognostic.cpp\
    396                                               ./modules/ModelProcessorx/Prognostic/CreateNodesPrognostic.cpp\
    397                                               ./modules/ModelProcessorx/Prognostic/CreateConstraintsPrognostic.cpp\
    398                                               ./modules/ModelProcessorx/Prognostic/CreateLoadsPrognostic.cpp
    399 prognostic_psources = ./solutions/prognostic_core.cpp
    400 #}}}
    401 #Thermal sources  {{{1
    402 thermal_sources = ./modules/ModelProcessorx/Thermal/UpdateElementsThermal.cpp\
    403                                            ./modules/ModelProcessorx/Thermal/CreateNodesThermal.cpp\
    404                                            ./modules/ModelProcessorx/Thermal/CreateConstraintsThermal.cpp\
    405                                            ./modules/ModelProcessorx/Thermal/CreateLoadsThermal.cpp\
    406                                            ./modules/ModelProcessorx/Enthalpy/UpdateElementsEnthalpy.cpp\
    407                                            ./modules/ModelProcessorx/Enthalpy/CreateNodesEnthalpy.cpp\
    408                                            ./modules/ModelProcessorx/Enthalpy/CreateConstraintsEnthalpy.cpp\
    409                                            ./modules/ModelProcessorx/Enthalpy/CreateLoadsEnthalpy.cpp\
    410                                            ./modules/ModelProcessorx/Melting/UpdateElementsMelting.cpp\
    411                                            ./modules/ModelProcessorx/Melting/CreateNodesMelting.cpp\
    412                                            ./modules/ModelProcessorx/Melting/CreateConstraintsMelting.cpp\
    413                                            ./modules/ModelProcessorx/Melting/CreateLoadsMelting.cpp\
    414                                            ./modules/ConstraintsStatex/ThermalConstraintsState.cpp\
    415                                            ./modules/ConstraintsStatex/ThermalIsPresent.cpp\
    416                                            ./modules/ResetConstraintsx/ThermalConstraintsReset.cpp
    417 
    418 thermal_psources = ./solutions/thermal_core.cpp\
    419                                             ./solutions/thermal_core_step.cpp\
    420                                             ./solutions/enthalpy_core.cpp\
    421                                             ./solutions/enthalpy_core_step.cpp\
    422                                             ./solvers/solver_thermal_nonlinear.cpp
    423 #}}}
    424 #Control sources  {{{1
    425 control_sources= ./modules/ControlInputGetGradientx/ControlInputGetGradientx.cpp\
    426                                           ./modules/ControlInputGetGradientx/ControlInputGetGradientx.h\
    427                                           ./modules/ControlInputSetGradientx/ControlInputSetGradientx.cpp\
    428                                           ./modules/ControlInputSetGradientx/ControlInputSetGradientx.h\
    429                                           ./modules/ControlInputScaleGradientx/ControlInputScaleGradientx.cpp\
    430                                           ./modules/ControlInputScaleGradientx/ControlInputScaleGradientx.h\
    431                                           ./modules/GetVectorFromControlInputsx/GetVectorFromControlInputsx.cpp\
    432                                           ./modules/GetVectorFromControlInputsx/GetVectorFromControlInputsx.h\
    433                                           ./modules/SetControlInputsFromVectorx/SetControlInputsFromVectorx.cpp\
    434                                           ./modules/SetControlInputsFromVectorx/SetControlInputsFromVectorx.h\
    435                                           ./modules/ModelProcessorx/Control/CreateParametersControl.cpp\
    436                                           ./modules/ModelProcessorx/Control/UpdateElementsAndMaterialsControl.cpp\
    437                                           ./modules/InputControlUpdatex/InputControlUpdatex.h\
    438                                           ./modules/InputControlUpdatex/InputControlUpdatex.cpp\
    439                                           ./modules/SurfaceAbsVelMisfitx/SurfaceAbsVelMisfitx.h\
    440                                           ./modules/SurfaceAbsVelMisfitx/SurfaceAbsVelMisfitx.cpp\
    441                                           ./modules/SurfaceRelVelMisfitx/SurfaceRelVelMisfitx.h\
    442                                           ./modules/SurfaceRelVelMisfitx/SurfaceRelVelMisfitx.cpp\
    443                                           ./modules/SurfaceLogVelMisfitx/SurfaceLogVelMisfitx.h\
    444                                           ./modules/SurfaceLogVelMisfitx/SurfaceLogVelMisfitx.cpp\
    445                                           ./modules/SurfaceLogVxVyMisfitx/SurfaceLogVxVyMisfitx.h\
    446                                           ./modules/SurfaceLogVxVyMisfitx/SurfaceLogVxVyMisfitx.cpp\
    447                                           ./modules/SurfaceAverageVelMisfitx/SurfaceAverageVelMisfitx.h\
    448                                           ./modules/SurfaceAverageVelMisfitx/SurfaceAverageVelMisfitx.cpp\
    449                                           ./modules/ThicknessAbsMisfitx/ThicknessAbsMisfitx.h\
    450                                           ./modules/ThicknessAbsMisfitx/ThicknessAbsMisfitx.cpp\
    451                                           ./modules/CostFunctionx/CostFunctionx.h\
    452                                           ./modules/CostFunctionx/CostFunctionx.cpp\
    453                                           ./modules/Orthx/Orthx.h\
    454                                           ./modules/Orthx/Orthx.cpp\
    455                                           ./modules/Gradjx/Gradjx.h\
    456                                           ./modules/Gradjx/Gradjx.cpp\
    457                                           ./modules/DragCoefficientAbsGradientx/DragCoefficientAbsGradientx.cpp\
    458                                           ./modules/DragCoefficientAbsGradientx/DragCoefficientAbsGradientx.h\
    459                                           ./modules/ThicknessAbsGradientx/ThicknessAbsGradientx.cpp\
    460                                           ./modules/ThicknessAbsGradientx/ThicknessAbsGradientx.h\
    461                                           ./modules/RheologyBbarAbsGradientx/RheologyBbarAbsGradientx.cpp\
    462                                           ./modules/RheologyBbarAbsGradientx/RheologyBbarAbsGradientx.h\
    463                                           ./objects/Inputs/ControlInput.h\
    464                                           ./objects/Inputs/ControlInput.cpp\
    465                                           ./shared/Numerics/BrentSearch.cpp\
    466                                           ./shared/Numerics/OptimalSearch.cpp\
    467                                           ./shared/Numerics/OptFunc.cpp
    468 
    469 control_psources=./solutions/control_core.cpp\
    470                                           ./solutions/controltao_core.cpp\
    471                                           ./solutions/controlrestart.cpp\
    472                                           ./solutions/controlconvergence.cpp\
    473                                           ./solutions/objectivefunctionC.cpp\
    474                                           ./solutions/gradient_core.cpp\
    475                                           ./solutions/adjointdiagnostic_core.cpp\
    476                                           ./solutions/adjointbalancethickness_core.cpp\
    477                                           ./solutions/AdjointCorePointerFromSolutionEnum.cpp\
    478                                           ./solvers/solver_adjoint_linear.cpp
    479 
    480 #}}}
    481 #Hydrology sources  {{{1
    482 hydrology_sources  = ./modules/ModelProcessorx/Hydrology/UpdateElementsHydrology.cpp\
    483                                               ./modules/ModelProcessorx/Hydrology/CreateNodesHydrology.cpp\
    484                                               ./modules/ModelProcessorx/Hydrology/CreateConstraintsHydrology.cpp\
    485                                               ./modules/ModelProcessorx/Hydrology/CreateLoadsHydrology.cpp
    486                                          
    487 hydrology_psources  = ./solutions/hydrology_core.cpp\
    488                                                ./solutions/hydrology_core_step.cpp
    489 #}}}
    490 #Diagnostic sources  {{{1
    491 diagnostic_sources = ./modules/ModelProcessorx/DiagnosticHoriz/UpdateElementsDiagnosticHoriz.cpp\
    492                                               ./modules/ModelProcessorx/DiagnosticHoriz/CreateNodesDiagnosticHoriz.cpp \
    493                                               ./modules/ModelProcessorx/DiagnosticHoriz/CreateConstraintsDiagnosticHoriz.cpp \
    494                                               ./modules/ModelProcessorx/DiagnosticHoriz/CreateLoadsDiagnosticHoriz.cpp\
    495                                               ./modules/ModelProcessorx/DiagnosticVert/UpdateElementsDiagnosticVert.cpp\
    496                                               ./modules/ModelProcessorx/DiagnosticVert/CreateNodesDiagnosticVert.cpp \
    497                                               ./modules/ModelProcessorx/DiagnosticVert/CreateConstraintsDiagnosticVert.cpp \
    498                                               ./modules/ModelProcessorx/DiagnosticVert/CreateLoadsDiagnosticVert.cpp\
    499                                               ./modules/ModelProcessorx/DiagnosticHutter/UpdateElementsDiagnosticHutter.cpp\
    500                                               ./modules/ModelProcessorx/DiagnosticHutter/CreateNodesDiagnosticHutter.cpp \
    501                                               ./modules/ModelProcessorx/DiagnosticHutter/CreateConstraintsDiagnosticHutter.cpp \
    502                                               ./modules/ModelProcessorx/DiagnosticHutter/CreateLoadsDiagnosticHutter.cpp \
    503                                                         ./shared/Elements/CoordinateSystemTransform.cpp\
    504                                                         ./shared/Elements/TransformLoadVectorCoord.cpp \
    505                                                         ./shared/Elements/TransformStiffnessMatrixCoord.cpp \
    506                                                         ./shared/Elements/TransformInvStiffnessMatrixCoord.cpp \
    507                                                         ./shared/Elements/TransformSolutionCoord.cpp
    508 diagnostic_psources =./solutions/diagnostic_core.cpp\
    509                                               ./solvers/solver_stokescoupling_nonlinear.cpp
    510 #}}}
    511 #Balanced sources  {{{1
    512 balanced_sources = ./modules/ModelProcessorx/Balancethickness/UpdateElementsBalancethickness.cpp\
    513                                             ./modules/ModelProcessorx/Balancethickness/CreateNodesBalancethickness.cpp\
    514                                             ./modules/ModelProcessorx/Balancethickness/CreateConstraintsBalancethickness.cpp\
    515                                             ./modules/ModelProcessorx/Balancethickness/CreateLoadsBalancethickness.cpp
    516 balanced_psources = ./solutions/balancethickness_core.cpp
    517 #}}}
    518 #Responses sources  {{{1
    519 responses_sources = ./modules/MinVelx/MinVelx.h\
    520                                              ./modules/MinVelx/MinVelx.cpp\
    521                                              ./modules/MaxVelx/MaxVelx.h\
    522                                              ./modules/MaxVelx/MaxVelx.cpp\
    523                                              ./modules/MaxAbsVxx/MaxAbsVxx.h\
    524                                              ./modules/MaxAbsVxx/MaxAbsVxx.cpp\
    525                                              ./modules/MaxAbsVyx/MaxAbsVyx.h\
    526                                              ./modules/MaxAbsVyx/MaxAbsVyx.cpp\
    527                                              ./modules/MaxAbsVzx/MaxAbsVzx.h\
    528                                              ./modules/MaxAbsVzx/MaxAbsVzx.cpp\
    529                                              ./modules/MaxVxx/MaxVxx.h\
    530                                              ./modules/MaxVxx/MaxVxx.cpp\
    531                                              ./modules/MaxVyx/MaxVyx.h\
    532                                              ./modules/MaxVyx/MaxVyx.cpp\
    533                                              ./modules/MaxVzx/MaxVzx.h\
    534                                              ./modules/MaxVzx/MaxVzx.cpp\
    535                                              ./modules/MinVxx/MinVxx.h\
    536                                              ./modules/MinVxx/MinVxx.cpp\
    537                                              ./modules/MinVyx/MinVyx.h\
    538                                              ./modules/MinVyx/MinVyx.cpp\
    539                                              ./modules/MinVzx/MinVzx.h\
    540                                              ./modules/MinVzx/MinVzx.cpp\
    541                                              ./modules/IceVolumex/IceVolumex.h\
    542                                              ./modules/IceVolumex/IceVolumex.cpp\
    543                                              ./modules/ElementResponsex/ElementResponsex.h\
    544                                              ./modules/ElementResponsex/ElementResponsex.cpp\
    545                                              ./modules/MassFluxx/MassFluxx.cpp\
    546                                              ./modules/MassFluxx/MassFluxx.h
    547 #}}}
    548 #Slope sources  {{{1
    549 slope_sources =  ./modules/ModelProcessorx/BedSlope/UpdateElementsBedSlope.cpp\
    550                                           ./modules/ModelProcessorx/BedSlope/CreateNodesBedSlope.cpp \
    551                                           ./modules/ModelProcessorx/BedSlope/CreateConstraintsBedSlope.cpp\
    552                                           ./modules/ModelProcessorx/BedSlope/CreateLoadsBedSlope.cpp\
    553                                           ./modules/ModelProcessorx/SurfaceSlope/UpdateElementsSurfaceSlope.cpp\
    554                                           ./modules/ModelProcessorx/SurfaceSlope/CreateNodesSurfaceSlope.cpp \
    555                                           ./modules/ModelProcessorx/SurfaceSlope/CreateConstraintsSurfaceSlope.cpp\
    556                                           ./modules/ModelProcessorx/SurfaceSlope/CreateLoadsSurfaceSlope.cpp
    557 slope_psources = ./solutions/surfaceslope_core.cpp\
    558                                           ./solutions/bedslope_core.cpp
    559 #}}}
    560 #Groundingline sources  {{{1
    561 groundingline_sources= ./modules/GroundinglineMigrationx/GroundinglineMigrationx.cpp\
    562                                                 ./modules/GroundinglineMigrationx/GroundinglineMigrationx.h
    563 #}}}
    564 #Rifts sources  {{{1
    565 rifts_sources = ./objects/Loads/Riftfront.cpp\
    566                                     ./objects/Loads/Riftfront.h\
    567                                     ./modules/ConstraintsStatex/RiftConstraintsState.cpp
    568 #}}}
    569 #3D sources  {{{1
    570 threed_sources = ./objects/Gauss/GaussPenta.h\
    571                                      ./objects/Gauss/GaussPenta.cpp\
    572                                      ./objects/ElementResults/PentaP1ElementResult.h\
    573                                      ./objects/ElementResults/PentaP1ElementResult.cpp\
    574                                      ./objects/Inputs/PentaP1Input.h\
    575                                      ./objects/Inputs/PentaP1Input.cpp\
    576                                      ./objects/Elements/Penta.h\
    577                                      ./objects/Elements/Penta.cpp\
    578                                      ./objects/Elements/PentaHook.h\
    579                                      ./objects/Elements/PentaHook.cpp\
    580                                      ./objects/Elements/PentaRef.h\
    581                                      ./objects/Elements/PentaRef.cpp
    582 #}}}
    583 #Bamg sources  {{{1
    584 bamg_sources =  ./objects/Bamg/BamgGeom.h\
    585                                 ./objects/Bamg/BamgGeom.cpp\
    586                                 ./objects/Bamg/BamgMesh.h\
    587                                 ./objects/Bamg/BamgMesh.cpp\
    588                                 ./objects/Bamg/BamgOpts.h\
    589                                 ./objects/Bamg/BamgOpts.cpp\
    590                                 ./objects/Bamg/CrackedEdge.h\
    591                                 ./objects/Bamg/CrackedEdge.cpp\
    592                                 ./objects/Bamg/Curve.h\
    593                                 ./objects/Bamg/Curve.cpp\
    594                                 ./objects/Bamg/Direction.h\
    595                                 ./objects/Bamg/Direction.cpp\
    596                                 ./objects/Bamg/DoubleAndInt.h\
    597                                 ./objects/Bamg/Edge.h\
    598                                 ./objects/Bamg/Edge.cpp\
    599                                 ./objects/Bamg/GeomEdge.h\
    600                                 ./objects/Bamg/GeomEdge.cpp\
    601                                 ./objects/Bamg/GeomSubDomain.h\
    602                                 ./objects/Bamg/GeomSubDomain.cpp\
    603                                 ./objects/Bamg/GeomVertex.h\
    604                                 ./objects/Bamg/GeomVertex.cpp\
    605                                 ./objects/Bamg/Geometry.cpp\
    606                                 ./objects/Bamg/Geometry.h\
    607                                 ./objects/Bamg/ListofIntersectionTriangles.cpp\
    608                                 ./objects/Bamg/ListofIntersectionTriangles.h\
    609                                 ./objects/Bamg/EigenMetric.cpp\
    610                                 ./objects/Bamg/Metric.cpp\
    611                                 ./objects/Bamg/Metric.h\
    612                                 ./objects/Bamg/QuadTree.cpp\
    613                                 ./objects/Bamg/QuadTree.h\
    614                                 ./objects/Bamg/R2.h\
    615                                 ./objects/Bamg/SetOfE4.cpp\
    616                                 ./objects/Bamg/SetOfE4.h\
    617                                 ./objects/Bamg/SubDomain.h\
    618                                 ./objects/Bamg/SubDomain.cpp\
    619                                 ./objects/Bamg/AdjacentTriangle.h\
    620                                 ./objects/Bamg/AdjacentTriangle.cpp\
    621                                 ./objects/Bamg/Triangle.cpp\
    622                                 ./objects/Bamg/Triangle.h\
    623                                 ./objects/Bamg/BamgVertex.cpp\
    624                                 ./objects/Bamg/BamgVertex.h\
    625                                 ./objects/Bamg/VertexOnEdge.h\
    626                                 ./objects/Bamg/VertexOnEdge.cpp\
    627                                 ./objects/Bamg/VertexOnGeom.h\
    628                                 ./objects/Bamg/VertexOnGeom.cpp\
    629                                 ./objects/Bamg/VertexOnVertex.h\
    630                                 ./objects/Bamg/VertexOnVertex.cpp\
    631                                 ./objects/Bamg/Mesh.cpp\
    632                                 ./objects/Bamg/Mesh.h\
    633                                 ./shared/Bamg/Abs.h \
    634                                 ./shared/Bamg/BigPrimeNumber.h\
    635                                 ./shared/Bamg/BigPrimeNumber.cpp\
    636                                 ./shared/Bamg/BinaryRand.h \
    637                                 ./shared/Bamg/det.h \
    638                                 ./shared/Bamg/Exchange.h \
    639                                 ./shared/Bamg/extrema.h \
    640                                 ./shared/Bamg/HeapSort.h \
    641                                 ./shared/Bamg/OppositeAngle.h \
    642                                 ./modules/Bamgx/Bamgx.cpp\
    643                                 ./modules/Bamgx/Bamgx.h\
    644                                 ./modules/BamgConvertMeshx/BamgConvertMeshx.cpp\
    645                                 ./modules/BamgConvertMeshx/BamgConvertMeshx.h\
    646                                 ./modules/BamgTriangulatex/BamgTriangulatex.cpp\
    647                                 ./modules/BamgTriangulatex/BamgTriangulatex.h
    648 #}}}
    649 #Kml sources  {{{1
    650 kml_sources = ./modules/Exp2Kmlx/Exp2Kmlx.h\
    651                              ./modules/Exp2Kmlx/Exp2Kmlx.cpp\
    652                              ./modules/Kml2Expx/Kml2Expx.h\
    653                              ./modules/Kml2Expx/Kml2Expx.cpp\
    654                              ./modules/Shp2Kmlx/Shp2Kmlx.h\
    655                              ./modules/Shp2Kmlx/Shp2Kmlx.cpp\
    656                              ./modules/KMLFileReadx/KMLFileReadx.h\
    657                              ./modules/KMLFileReadx/KMLFileReadx.cpp\
    658                              ./modules/KMLMeshWritex/KMLMeshWritex.h\
    659                              ./modules/KMLMeshWritex/KMLMeshWritex.cpp\
    660                              ./modules/KMLOverlayx/KMLOverlayx.h\
    661                              ./modules/KMLOverlayx/KMLOverlayx.cpp\
    662                              ./objects/KML/KML_Attribute.cpp\
    663                              ./objects/KML/KML_Attribute.h\
    664                              ./objects/KML/KML_Comment.cpp\
    665                              ./objects/KML/KML_Comment.h\
    666                              ./objects/KML/KML_ColorStyle.cpp\
    667                              ./objects/KML/KML_ColorStyle.h\
    668                              ./objects/KML/KML_Container.cpp\
    669                              ./objects/KML/KML_Container.h\
    670                              ./objects/KML/KML_Document.cpp\
    671                              ./objects/KML/KML_Document.h\
    672                              ./objects/KML/KML_Feature.cpp\
    673                              ./objects/KML/KML_Feature.h\
    674                              ./objects/KML/KML_File.cpp\
    675                              ./objects/KML/KML_File.h\
    676                              ./objects/KML/KML_Folder.cpp\
    677                              ./objects/KML/KML_Folder.h\
    678                              ./objects/KML/KML_Geometry.cpp\
    679                              ./objects/KML/KML_Geometry.h\
    680                              ./objects/KML/KML_GroundOverlay.cpp\
    681                              ./objects/KML/KML_GroundOverlay.h\
    682                              ./objects/KML/KML_Icon.cpp\
    683                              ./objects/KML/KML_Icon.h\
    684                              ./objects/KML/KML_LatLonBox.cpp\
    685                              ./objects/KML/KML_LatLonBox.h\
    686                              ./objects/KML/KML_LinearRing.cpp\
    687                              ./objects/KML/KML_LinearRing.h\
    688                              ./objects/KML/KML_LineString.cpp\
    689                              ./objects/KML/KML_LineString.h\
    690                              ./objects/KML/KML_LineStyle.cpp\
    691                              ./objects/KML/KML_LineStyle.h\
    692                              ./objects/KML/KML_MultiGeometry.cpp\
    693                              ./objects/KML/KML_MultiGeometry.h\
    694                              ./objects/KML/KML_Object.cpp\
    695                              ./objects/KML/KML_Object.h\
    696                              ./objects/KML/KML_Overlay.cpp\
    697                              ./objects/KML/KML_Overlay.h\
    698                              ./objects/KML/KML_Point.cpp\
    699                              ./objects/KML/KML_Point.h\
    700                              ./objects/KML/KML_Placemark.cpp\
    701                              ./objects/KML/KML_Placemark.h\
    702                              ./objects/KML/KML_Polygon.cpp\
    703                              ./objects/KML/KML_Polygon.h\
    704                              ./objects/KML/KML_PolyStyle.cpp\
    705                              ./objects/KML/KML_PolyStyle.h\
    706                              ./objects/KML/KML_Style.cpp\
    707                              ./objects/KML/KML_Style.h\
    708                              ./objects/KML/KML_StyleSelector.cpp\
    709                              ./objects/KML/KML_StyleSelector.h\
    710                              ./objects/KML/KML_SubStyle.cpp\
    711                              ./objects/KML/KML_SubStyle.h\
    712                              ./objects/KML/KML_Unknown.cpp\
    713                              ./objects/KML/KML_Unknown.h\
    714                              ./objects/KML/KMLFileReadUtils.cpp\
    715                              ./objects/KML/KMLFileReadUtils.h
    716 #}}}
    717 #Matlab sources  {{{1
    718 matlab_sources= ./shared/Matlab/matlabshared.h\
    719                                     ./shared/Matlab/ModuleBoot.cpp\
    720                                     ./shared/Matlab/ModuleEnd.cpp\
    721                                     ./shared/Matlab/mxGetAssignedField.cpp\
    722                                     ./shared/Matlab/mxGetField.cpp\
    723                                     ./shared/Matlab/CheckNumMatlabArguments.cpp\
    724                                     ./toolkits/matlab/matlabincludes.h\
    725                                     ./toolkits/matlab/MatlabNArrayToNArray.cpp\
    726                                     ./io/Matlab/matlabio.h\
    727                                     ./io/Matlab/WriteMatlabData.cpp\
    728                                     ./io/Matlab/FetchMatlabData.cpp\
    729                                     ./io/Matlab/OptionParse.cpp
    730 #}}}
    731 #Serialsources  {{{1
    732 serial_sources= ./objects/Options/Option.cpp\
    733                         ./objects/Options/Option.h\
    734                         ./objects/Options/OptionDouble.cpp\
    735                         ./objects/Options/OptionDouble.h\
    736                         ./objects/Options/OptionLogical.cpp\
    737                         ./objects/Options/OptionLogical.h\
    738                         ./objects/Options/OptionChar.cpp\
    739                         ./objects/Options/OptionChar.h\
    740                         ./objects/Options/OptionStruct.cpp\
    741                         ./objects/Options/OptionStruct.h\
    742                         ./objects/Options/OptionCell.cpp\
    743                         ./objects/Options/OptionCell.h\
    744                         ./objects/Options/OptionUtilities.cpp\
    745                         ./objects/Options/OptionUtilities.h\
    746                         ./shared/Threads/issm_threads.h\
    747                         ./shared/Threads/LaunchThread.cpp\
    748                         ./shared/Threads/PartitionRange.cpp\
    749                         ./shared/Exp/exp.h\
    750                         ./shared/Exp/IsInPoly.cpp\
    751                         ./shared/Exp/IsInPolySerial.cpp\
    752                         ./shared/Exp/DomainOutlineRead.cpp\
    753                         ./shared/Exp/DomainOutlineWrite.cpp\
    754                         ./shared/TriMesh/trimesh.h\
    755                         ./shared/TriMesh/AssociateSegmentToElement.cpp\
    756                         ./shared/TriMesh/GridInsideHole.cpp\
    757                         ./shared/TriMesh/OrderSegments.cpp\
    758                         ./shared/TriMesh/SplitMeshForRifts.cpp\
    759                         ./shared/TriMesh/TriMeshUtils.cpp\
    760                         ./modules/AddExternalResultx/AddExternalResultx.h\
    761                         ./modules/AddExternalResultx/AddExternalResultx.cpp\
    762                         ./modules/Chacox/Chacox.h\
    763                         ./modules/Chacox/Chacox.cpp\
    764                         ./modules/Chacox/input_parse.cpp\
    765                         ./modules/Chacox/chaco_seconds.cpp\
    766                         ./modules/Chacox/user_params.cpp\
    767                         ./modules/Dakotax/SpawnCoreSerial.cpp\
    768                         ./modules/TriaSearchx/TriaSearchx.h\
    769                         ./modules/TriaSearchx/TriaSearchx.cpp\
    770                         ./modules/PointCloudFindNeighborsx/PointCloudFindNeighborsx.h\
    771                         ./modules/PointCloudFindNeighborsx/PointCloudFindNeighborsx.cpp\
    772                         ./modules/PointCloudFindNeighborsx/PointCloudFindNeighborsxt.cpp\
    773                         ./modules/Xy2llx/Xy2llx.h\
    774                         ./modules/Xy2llx/Xy2llx.cpp\
    775                         ./modules/Ll2xyx/Ll2xyx.h\
    776                         ./modules/Ll2xyx/Ll2xyx.cpp\
    777                         ./modules/InterpFromGridToMeshx/InterpFromGridToMeshx.cpp\
    778                         ./modules/InterpFromGridToMeshx/InterpFromGridToMeshx.h\
    779                         ./modules/InterpFromMesh2dx/InterpFromMesh2dx.cpp\
    780                         ./modules/InterpFromMesh2dx/InterpFromMesh2dxt.cpp\
    781                         ./modules/InterpFromMesh2dx/InterpFromMesh2dx.h\
    782                         ./modules/InterpFromMeshToMesh2dx/InterpFromMeshToMesh2dx.cpp\
    783                         ./modules/InterpFromMeshToMesh2dx/InterpFromMeshToMesh2dx.h\
    784                         ./modules/InterpFromMeshToMesh3dx/InterpFromMeshToMesh3dx.cpp\
    785                         ./modules/InterpFromMeshToMesh3dx/InterpFromMeshToMesh3dx.h\
    786                         ./modules/InterpFromMeshToGridx/InterpFromMeshToGridx.cpp\
    787                         ./modules/InterpFromMeshToGridx/InterpFromMeshToGridx.h\
    788                         ./modules/HoleFillerx/HoleFillerx.cpp\
    789                         ./modules/HoleFillerx/HoleFillerx.h\
    790                         ./modules/AverageFilterx/AverageFilterx.cpp\
    791                         ./modules/AverageFilterx/AverageFilterx.h\
    792                         ./modules/MeshProfileIntersectionx/MeshProfileIntersectionx.cpp\
    793                         ./modules/MeshProfileIntersectionx/MeshProfileIntersectionx.h\
    794                         ./modules/MeshProfileIntersectionx/MeshSegmentsIntersection.cpp\
    795                         ./modules/MeshProfileIntersectionx/ElementSegmentsIntersection.cpp\
    796                         ./modules/MeshProfileIntersectionx/ElementSegment.cpp\
    797                         ./modules/MeshProfileIntersectionx/SegmentIntersect.cpp\
    798                         ./modules/MeshProfileIntersectionx/NodeInElement.cpp\
    799                         ./modules/ContourToMeshx/ContourToMeshx.cpp\
    800                         ./modules/ContourToMeshx/ContourToMeshxt.cpp\
    801                         ./modules/ContourToMeshx/ContourToMeshx.h\
    802                         ./modules/ContourToNodesx/ContourToNodesx.cpp\
    803                         ./modules/ContourToNodesx/ContourToNodesx.h\
    804                         ./modules/Reducevectorgtosx/Reducevectorgtosx.cpp\
    805                         ./modules/Reducevectorgtosx/Reducevectorgtosx.h\
    806                         ./modules/NodeConnectivityx/NodeConnectivityx.cpp\
    807                         ./modules/NodeConnectivityx/NodeConnectivityx.h\
    808                         ./modules/ElementConnectivityx/ElementConnectivityx.cpp\
    809                         ./modules/ElementConnectivityx/ElementConnectivityx.h\
    810                         ./modules/Scotchx/Scotchx.cpp\
    811                         ./modules/Scotchx/Scotchx.h\
    812                         ./modules/PropagateFlagsFromConnectivityx/PropagateFlagsFromConnectivityx.cpp\
    813                         ./modules/PropagateFlagsFromConnectivityx/PropagateFlagsFromConnectivityx.h
    814 #}}}
    815 
    816 #ISSM sources are a combination of core sources and sources related to specific capabilities (which can
    817 #be activated by autotools conditionals
    818 #{{{1
    819 
    820 #First the core
    821 issm_sources  =  $(core_sources)
    822 issm_psources = 
    823 
    824 #Now the optional source
    825 if DAKOTA
    826 issm_sources  +=  $(dakota_sources)
    827 issm_psources +=  $(dakota_psources)
    828 endif
    829 
    830 if TRANSIENT
    831 issm_sources  +=  $(transient_sources)
    832 issm_psources +=  $(transient_psources)
    833 endif
    834 
    835 if STEADYSTATE
    836 issm_sources  +=  $(steadystate_sources)
    837 issm_psources +=  $(steadystate_psources)
    838 endif
    839 
    840 if PROGNOSTIC
    841 issm_sources  +=  $(prognostic_sources)
    842 issm_psources +=  $(prognostic_psources)
    843 endif
    844 
    845 if THERMAL
    846 issm_sources  +=  $(thermal_sources)
    847 issm_psources +=  $(thermal_psources)
    848 endif
    849 
    850 if CONTROL
    851 issm_sources  +=  $(control_sources)
    852 issm_psources +=  $(control_psources)
    853 endif
    854 
    855 if HYDROLOGY
    856 issm_sources  +=  $(hydrology_sources)
    857 issm_psources +=  $(hydrology_psources)
    858 endif
    859 
    860 if DIAGNOSTIC
    861 issm_sources  +=  $(diagnostic_sources)
    862 issm_psources +=  $(diagnostic_psources)
    863 endif
    864 
    865 if BALANCED
    866 issm_sources  +=  $(balanced_sources)
    867 issm_psources +=  $(balanced_psources)
    868 endif
    869 
    870 if RESPONSES
    871 issm_sources +=  $(responses_sources)
    872 endif
    873 
    874 if SLOPE
    875 issm_sources  +=  $(slope_sources)
    876 issm_psources +=  $(slope_psources)
    877 endif
    878 
    879 if GROUNDINGLINE
    880 issm_sources +=  $(groundingline_sources)
    881 endif
    882 
    883 if RIFTS
    884 issm_sources +=  $(rifts_sources)
    885 endif
    886 
    887 if THREED
    888 issm_sources +=  $(threed_sources)
    889 endif
    890 #}}}
    891 
    892 #ISSM serial library {{{1
    893 libISSM_a_SOURCES  = $(issm_sources)
    894 libISSM_a_SOURCES += $(serial_sources)
    895 libISSM_a_SOURCES += $(bamg_sources)
    896 libISSM_a_SOURCES += $(kml_sources)
    897 libISSM_a_SOURCES += $(matlab_sources)
    898 
    899 libISSM_a_CXXFLAGS = -fPIC -DMATLAB -D_SERIAL_ -D_GNU_SOURCE -fno-omit-frame-pointer -pthread -D_CPP_  $(CXXFLAGS) $(CXXOPTFLAGS)
    900 if LARGEARRAYS
    901 libISSM_a_CXXFLAGS += -D__GCC4BUILD__ 
    902 else
    903 libISSM_a_CXXFLAGS += -DMX_COMPAT_32
    904 endif
    905 #}}}
    906 #ISSM parallel library {{{1
    907 libpISSM_a_SOURCES  = $(issm_sources)
    908 libpISSM_a_SOURCES += $(issm_psources)
    909 libpISSM_a_CXXFLAGS = -fPIC -D_PARALLEL_   -D_C_ $(CXXFLAGS) $(CXXOPTFLAGS)
    910 #}}}
    911 #Overload library, to overload any non-standard symbols. {{{1
    912 libOverload_a_SOURCES = ./shared/String/stricmp.c
    913 libOverload_a_CFLAGS  = -fPIC -D_PARALLEL_   -D_C_ $(COPTFLAGS) $(CFLAGS)
    914 #}}}
    915 
    916 #Executable {{{1
    917 if NOPARALLEL
    918 bin_PROGRAMS =
    919 else
    920 bin_PROGRAMS = issm
    921 endif
    922 
    923 #Standard libraries
    924 LDADD =      ./libpISSM.a ./libOverload.a
    925 
    926 #External packages
    927 LDADD += $(PETSCLIB) $(TAOLIB) $(FLIBS) $(PLAPACKLIB)  $(MUMPSLIB) $(SCALAPACKLIB)  $(BLACSLIB) $(HYPRELIB) $(MLLIB) $(DAKOTALIB) $(METISLIB) $(CHACOLIB) $(SCOTCHLIB) $(BLASLAPACKLIB)  $(MKLLIB) $(MPILIB) $(MATHLIB) $(FORTRANLIB) $(GRAPHICSLIB) $(MULTITHREADINGLIB) $(OSLIBS)
    928 
    929 issm_SOURCES = solutions/issm.cpp
    930 issm_CXXFLAGS= -fPIC -D_PARALLEL_  $(CXXFLAGS) $(CXXOPTFLAGS) $(COPTFLAGS)
    931 #}}}
    932 
    933 #Automatic differentiation: append this fold to the end of the src/c/Makefile.am to get this Makefile.am {{{
    934 if ADIC2
    935 lib_LIBRARIES += libAD.a libpISSMRose.a
    936 
    937 #ADIC2 library, for automatic differentiation
    938 #libAD_a_SOURCES = ./mini1.ad.c
    939 libAD_a_SOURCES =
    940 libAD_a_CFLAGS = -fPIC -D_PARALLEL_   -D_C_ $(COPTFLAGS)
    941 
    942 
    943 
    944 #test rose preprocessing
    945 %.r2cpp.cpp : %.cpp
    946         testTranslator -rose:o $@ -rose:skipfinalCompileStep -DHAVE_CONFIG_H -D_PARALLEL_ -D_C_ -I. -I../.. $(INCLUDES) $<
    947 libpISSMRose_a_SOURCES = $(libpISSM_a_SOURCES:.cpp=.r2cpp.cpp)
    948 libpISSMRose_a_CXXFLAGS= -fPIC -D_PARALLEL_ -D_C_ $(CXXOPTFLAGS)
    949 
    950 
    951 
    952 #Automatic differentiation rules:
    953 %.ad.c: %.c
    954         adic2 -mforward  $< --nary
    955 
    956 
    957 
    958 #Executable
    959 bin_PROGRAMS +=  issmRose.exe
    960 issmRose_exe_LDADD = ./libpISSMRose.a $(LDADD)
    961 issmRose_exe_SOURCES = solutions/issm.cpp
    962 issmRose_exe_CXXFLAGS= -fPIC -D_PARALLEL_  $(CXXOPTFLAGS) $(COPTFLAGS)
    963 LDADD +=  $(ADIC2LIB)
    964 
    965 endif #}}}
  • proj/ice/larour/issm-uci-clean/trunk-jpl/src/ad/eraselinks.sh

     
    1 #/bin/bash
    2 #This script soflinks all files in trunk/src/c/ directory necessary for compilation
    3 #of trunk/src/ad/
    4 rm include
    5 rm objects
    6 rm Container
    7 rm shared
    8 rm toolkits
    9 rm io
    10 rm EnumDefinitions
    11 rm modules
    12 rm solutions
    13 rm solvers
    14 rm issm.h
  • proj/ice/larour/issm-uci-clean/trunk-jpl/src/Makefile.am

     
    11EXTRA_DIST =  perl  pro
    22SUBDIRS = c mex m
    3 
    4 if ADIC2
    5 SUBDIRS += ad
    6 endif
    7 
    8 
Note: See TracBrowser for help on using the repository browser.