Changeset 10280


Ignore:
Timestamp:
10/24/11 23:28:16 (13 years ago)
Author:
Eric.Larour
Message:

Simplified Makefile.am to seamlessly integrate serial and parallel compilation

File:
1 edited

Legend:

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

    r10256 r10280  
    1919#}}}
    2020
    21 #For serial compilation
    22 #ISSM serial library{{{1
    23 libISSM_a_SOURCES = ./include/macros.h\
    24                                         ./include/typedefs.h\
    25                                         ./include/types.h\
    26                                         ./include/globals.h\
    27                                         ./include/include.h\
    28                                         ./objects/objects.h\
    29                                         ./objects/Object.h\
    30                                         ./objects/Bamg/BamgGeom.h\
    31                                         ./objects/Bamg/BamgGeom.cpp\
    32                                         ./objects/Bamg/BamgMesh.h\
    33                                         ./objects/Bamg/BamgMesh.cpp\
    34                                         ./objects/Bamg/BamgOpts.h\
    35                                         ./objects/Bamg/BamgOpts.cpp\
    36                                         ./objects/Bamg/CrackedEdge.h\
    37                                         ./objects/Bamg/CrackedEdge.cpp\
    38                                         ./objects/Bamg/Curve.h\
    39                                         ./objects/Bamg/Curve.cpp\
    40                                         ./objects/Bamg/Direction.h\
    41                                         ./objects/Bamg/Direction.cpp\
    42                                         ./objects/Bamg/DoubleAndInt.h\
    43                                         ./objects/Bamg/Edge.h\
    44                                         ./objects/Bamg/Edge.cpp\
    45                                         ./objects/Bamg/GeomEdge.h\
    46                                         ./objects/Bamg/GeomEdge.cpp\
    47                                         ./objects/Bamg/GeomSubDomain.h\
    48                                         ./objects/Bamg/GeomSubDomain.cpp\
    49                                         ./objects/Bamg/GeomVertex.h\
    50                                         ./objects/Bamg/GeomVertex.cpp\
    51                                         ./objects/Bamg/Geometry.cpp\
    52                                         ./objects/Bamg/Geometry.h\
    53                                         ./objects/Bamg/ListofIntersectionTriangles.cpp\
    54                                         ./objects/Bamg/ListofIntersectionTriangles.h\
    55                                         ./objects/Bamg/EigenMetric.cpp\
    56                                         ./objects/Bamg/Metric.cpp\
    57                                         ./objects/Bamg/Metric.h\
    58                                         ./objects/Bamg/QuadTree.cpp\
    59                                         ./objects/Bamg/QuadTree.h\
    60                                         ./objects/Bamg/R2.h\
    61                                         ./objects/Bamg/SetOfE4.cpp\
    62                                         ./objects/Bamg/SetOfE4.h\
    63                                         ./objects/Bamg/SubDomain.h\
    64                                         ./objects/Bamg/SubDomain.cpp\
    65                                         ./objects/Bamg/AdjacentTriangle.h\
    66                                         ./objects/Bamg/AdjacentTriangle.cpp\
    67                                         ./objects/Bamg/Triangle.cpp\
    68                                         ./objects/Bamg/Triangle.h\
    69                                         ./objects/Bamg/BamgVertex.cpp\
    70                                         ./objects/Bamg/BamgVertex.h\
    71                                         ./objects/Bamg/VertexOnEdge.h\
    72                                         ./objects/Bamg/VertexOnEdge.cpp\
    73                                         ./objects/Bamg/VertexOnGeom.h\
    74                                         ./objects/Bamg/VertexOnGeom.cpp\
    75                                         ./objects/Bamg/VertexOnVertex.h\
    76                                         ./objects/Bamg/VertexOnVertex.cpp\
    77                                         ./objects/Bamg/Mesh.cpp\
    78                                         ./objects/Bamg/Mesh.h\
    79                                         ./objects/KML/KML_Attribute.cpp\
    80                                         ./objects/KML/KML_Attribute.h\
    81                                         ./objects/KML/KML_ColorStyle.cpp\
    82                                         ./objects/KML/KML_ColorStyle.h\
    83                                         ./objects/KML/KML_Container.cpp\
    84                                         ./objects/KML/KML_Container.h\
    85                                         ./objects/KML/KML_Document.cpp\
    86                                         ./objects/KML/KML_Document.h\
    87                                         ./objects/KML/KML_Feature.cpp\
    88                                         ./objects/KML/KML_Feature.h\
    89                                         ./objects/KML/KML_File.cpp\
    90                                         ./objects/KML/KML_File.h\
    91                                         ./objects/KML/KML_Folder.cpp\
    92                                         ./objects/KML/KML_Folder.h\
    93                                         ./objects/KML/KML_Geometry.cpp\
    94                                         ./objects/KML/KML_Geometry.h\
    95                                         ./objects/KML/KML_GroundOverlay.cpp\
    96                                         ./objects/KML/KML_GroundOverlay.h\
    97                                         ./objects/KML/KML_Icon.cpp\
    98                                         ./objects/KML/KML_Icon.h\
    99                                         ./objects/KML/KML_LatLonBox.cpp\
    100                                         ./objects/KML/KML_LatLonBox.h\
    101                                         ./objects/KML/KML_LinearRing.cpp\
    102                                         ./objects/KML/KML_LinearRing.h\
    103                                         ./objects/KML/KML_LineString.cpp\
    104                                         ./objects/KML/KML_LineString.h\
    105                                         ./objects/KML/KML_LineStyle.cpp\
    106                                         ./objects/KML/KML_LineStyle.h\
    107                                         ./objects/KML/KML_MultiGeometry.cpp\
    108                                         ./objects/KML/KML_MultiGeometry.h\
    109                                         ./objects/KML/KML_Object.cpp\
    110                                         ./objects/KML/KML_Object.h\
    111                                         ./objects/KML/KML_Overlay.cpp\
    112                                         ./objects/KML/KML_Overlay.h\
    113                                         ./objects/KML/KML_Point.cpp\
    114                                         ./objects/KML/KML_Point.h\
    115                                         ./objects/KML/KML_Placemark.cpp\
    116                                         ./objects/KML/KML_Placemark.h\
    117                                         ./objects/KML/KML_Polygon.cpp\
    118                                         ./objects/KML/KML_Polygon.h\
    119                                         ./objects/KML/KML_PolyStyle.cpp\
    120                                         ./objects/KML/KML_PolyStyle.h\
    121                                         ./objects/KML/KML_Style.cpp\
    122                                         ./objects/KML/KML_Style.h\
    123                                         ./objects/KML/KML_StyleSelector.cpp\
    124                                         ./objects/KML/KML_StyleSelector.h\
    125                                         ./objects/KML/KML_SubStyle.cpp\
    126                                         ./objects/KML/KML_SubStyle.h\
    127                                         ./objects/KML/KMLFileReadUtils.cpp\
    128                                         ./objects/KML/KMLFileReadUtils.h\
    129                                         ./objects/Options/Option.cpp\
    130                                         ./objects/Options/Option.h\
    131                                         ./objects/Options/OptionDouble.cpp\
    132                                         ./objects/Options/OptionDouble.h\
    133                                         ./objects/Options/OptionLogical.cpp\
    134                                         ./objects/Options/OptionLogical.h\
    135                                         ./objects/Options/OptionChar.cpp\
    136                                         ./objects/Options/OptionChar.h\
    137                                         ./objects/Options/OptionStruct.cpp\
    138                                         ./objects/Options/OptionStruct.h\
    139                                         ./objects/Options/OptionCell.cpp\
    140                                         ./objects/Options/OptionCell.h\
    141                                         ./objects/Options/OptionUtilities.cpp\
    142                                         ./objects/Options/OptionUtilities.h\
    143                                         ./objects/Gauss/GaussTria.h\
    144                                         ./objects/Gauss/GaussTria.cpp\
    145                                         ./objects/Gauss/GaussPenta.h\
    146                                         ./objects/Gauss/GaussPenta.cpp\
    147                                         ./objects/Update.h\
    148                                         ./objects/Element.h\
    149                                         ./objects/FemModel.h\
    150                                         ./objects/FemModel.cpp\
    151                                         ./objects/Material.h\
    152                                         ./objects/Load.h\
    153                                         ./objects/OptArgs.h\
    154                                         ./objects/OptPars.h\
    155                                         ./objects/Contour.h\
    156                                         ./objects/Contour.cpp\
    157                                         ./objects/Loads/Friction.h\
    158                                         ./objects/Loads/Friction.cpp\
    159                                         ./objects/Node.h\
    160                                         ./objects/Node.cpp\
    161                                         ./objects/Segment.h\
    162                                         ./objects/Segment.cpp\
    163                                         ./objects/Vertex.h\
    164                                         ./objects/Vertex.cpp\
    165                                         ./objects/Hook.h\
    166                                         ./objects/Hook.cpp\
    167                                         ./objects/Patch.h\
    168                                         ./objects/Patch.cpp\
    169                                         ./objects/DofIndexing.h\
    170                                         ./objects/DofIndexing.cpp\
    171                                         ./objects/IoModel.h\
    172                                         ./objects/IoModel.cpp\
    173                                         ./objects/ElementResults/ElementResultLocal.h\
    174                                         ./objects/ElementResults/DoubleElementResult.h\
    175                                         ./objects/ElementResults/DoubleElementResult.cpp\
    176                                         ./objects/ElementResults/TriaVertexElementResult.h\
    177                                         ./objects/ElementResults/TriaVertexElementResult.cpp\
    178                                         ./objects/ElementResults/PentaVertexElementResult.h\
    179                                         ./objects/ElementResults/PentaVertexElementResult.cpp\
    180                                         ./objects/ElementResults/BoolElementResult.h\
    181                                         ./objects/ElementResults/BoolElementResult.cpp\
    182                                         ./objects/ExternalResults/ExternalResult.h\
    183                                         ./objects/ExternalResults/BoolExternalResult.h\
    184                                         ./objects/ExternalResults/BoolExternalResult.cpp\
    185                                         ./objects/ExternalResults/DoubleExternalResult.h\
    186                                         ./objects/ExternalResults/DoubleExternalResult.cpp\
    187                                         ./objects/ExternalResults/DoubleVecExternalResult.h\
    188                                         ./objects/ExternalResults/DoubleVecExternalResult.cpp\
    189                                         ./objects/ExternalResults/DoubleMatExternalResult.h\
    190                                         ./objects/ExternalResults/DoubleMatExternalResult.cpp\
    191                                         ./objects/ExternalResults/IntExternalResult.h\
    192                                         ./objects/ExternalResults/IntExternalResult.cpp\
    193                                         ./objects/ExternalResults/StringExternalResult.h\
    194                                         ./objects/ExternalResults/StringExternalResult.cpp\
    195                                         ./objects/ExternalResults/PetscVecExternalResult.h\
    196                                         ./objects/ExternalResults/PetscVecExternalResult.cpp\
    197                                         ./objects/Elements/Tria.h\
    198                                         ./objects/Elements/Tria.cpp\
    199                                         ./objects/Elements/TriaHook.h\
    200                                         ./objects/Elements/TriaHook.cpp\
    201                                         ./objects/Elements/TriaRef.h\
    202                                         ./objects/Elements/TriaRef.cpp\
    203                                         ./objects/Inputs/Input.h\
    204                                         ./objects/Inputs/InputLocal.h\
    205                                         ./objects/Inputs/TriaVertexInput.h\
    206                                         ./objects/Inputs/TriaVertexInput.cpp\
    207                                         ./objects/Inputs/PentaVertexInput.h\
    208                                         ./objects/Inputs/PentaVertexInput.cpp\
    209                                         ./objects/Inputs/BoolInput.h\
    210                                         ./objects/Inputs/BoolInput.cpp\
    211                                         ./objects/Inputs/IntInput.h\
    212                                         ./objects/Inputs/IntInput.cpp\
    213                                         ./objects/Inputs/DoubleInput.h\
    214                                         ./objects/Inputs/DoubleInput.cpp\
    215                                         ./objects/Inputs/ControlInput.h\
    216                                         ./objects/Inputs/ControlInput.cpp\
    217                                         ./objects/Inputs/DatasetInput.h\
    218                                         ./objects/Inputs/DatasetInput.cpp\
    219                                         ./objects/Inputs/TransientInput.h\
    220                                         ./objects/Inputs/TransientInput.cpp\
    221                                         ./objects/Elements/Penta.h\
    222                                         ./objects/Elements/Penta.cpp\
    223                                         ./objects/Elements/PentaHook.h\
    224                                         ./objects/Elements/PentaHook.cpp\
    225                                         ./objects/Elements/PentaRef.h\
    226                                         ./objects/Elements/PentaRef.cpp\
    227                                         ./objects/Materials/Matice.h\
    228                                         ./objects/Materials/Matice.cpp\
    229                                         ./objects/Materials/Matpar.h\
    230                                         ./objects/Materials/Matpar.cpp\
    231                                         ./objects/Constraints/Constraint.h\
    232                                         ./objects/Constraints/SpcStatic.cpp\
    233                                         ./objects/Constraints/SpcStatic.h\
    234                                         ./objects/Constraints/SpcDynamic.cpp\
    235                                         ./objects/Constraints/SpcDynamic.h\
    236                                         ./objects/Constraints/SpcTransient.cpp\
    237                                         ./objects/Constraints/SpcTransient.h\
    238                                         ./objects/Loads/Penpair.cpp\
    239                                         ./objects/Loads/Penpair.h\
    240                                         ./objects/Loads/Pengrid.cpp\
    241                                         ./objects/Loads/Pengrid.h\
    242                                         ./objects/Loads/Icefront.cpp\
    243                                         ./objects/Loads/Icefront.h\
    244                                         ./objects/Loads/Riftfront.cpp\
    245                                         ./objects/Loads/Riftfront.h\
    246                                         ./objects/Loads/Numericalflux.cpp\
    247                                         ./objects/Loads/Numericalflux.h\
    248                                         ./objects/Numerics/ElementMatrix.h\
    249                                         ./objects/Numerics/ElementMatrix.cpp\
    250                                         ./objects/Numerics/ElementVector.h\
    251                                         ./objects/Numerics/ElementVector.cpp\
    252                                         ./objects/Params/Param.h\
    253                                         ./objects/Params/BoolParam.cpp\
    254                                         ./objects/Params/BoolParam.h\
    255                                         ./objects/Params/IntParam.cpp\
    256                                         ./objects/Params/IntParam.h\
    257                                         ./objects/Params/IntVecParam.cpp\
    258                                         ./objects/Params/IntVecParam.h\
    259                                         ./objects/Params/IntMatParam.cpp\
    260                                         ./objects/Params/IntMatParam.h\
    261                                         ./objects/Params/DoubleParam.cpp\
    262                                         ./objects/Params/DoubleParam.h\
    263                                         ./objects/Params/FileParam.cpp\
    264                                         ./objects/Params/FileParam.h\
    265                                         ./objects/Params/PetscMatParam.cpp\
    266                                         ./objects/Params/PetscMatParam.h\
    267                                         ./objects/Params/StringArrayParam.cpp\
    268                                         ./objects/Params/StringArrayParam.h\
    269                                         ./objects/Params/DoubleMatParam.cpp\
    270                                         ./objects/Params/DoubleMatParam.h\
    271                                         ./objects/Params/DoubleMatArrayParam.cpp\
    272                                         ./objects/Params/DoubleMatArrayParam.h\
    273                                         ./objects/Params/DoubleVecParam.cpp\
    274                                         ./objects/Params/DoubleVecParam.h\
    275                                         ./objects/Params/PetscVecParam.cpp\
    276                                         ./objects/Params/PetscVecParam.h\
    277                                         ./objects/Params/StringParam.cpp\
    278                                         ./objects/Params/StringParam.h\
    279                                         ./Container/Container.h\
    280                                         ./Container/Constraints.h\
    281                                         ./Container/Constraints.cpp\
    282                                         ./Container/DataSet.h\
    283                                         ./Container/DataSet.cpp\
    284                                         ./Container/Elements.h\
    285                                         ./Container/Elements.cpp\
    286                                         ./Container/Inputs.h\
    287                                         ./Container/Inputs.cpp\
    288                                         ./Container/Loads.h\
    289                                         ./Container/Loads.cpp\
    290                                         ./Container/Materials.h\
    291                                         ./Container/Materials.cpp\
    292                                         ./Container/Nodes.h\
    293                                         ./Container/Nodes.cpp\
    294                                         ./Container/Options.h\
    295                                         ./Container/Options.cpp\
    296                                         ./Container/Parameters.h\
    297                                         ./Container/Parameters.cpp\
    298                                         ./Container/Results.h\
    299                                         ./Container/Results.cpp\
    300                                         ./Container/Vertices.h\
    301                                         ./Container/Vertices.cpp\
    302                                         ./shared/shared.h\
    303                                         ./shared/Alloc/alloc.h\
    304                                         ./shared/Alloc/alloc.cpp\
    305                                         ./shared/Threads/issm_threads.h\
    306                                         ./shared/Threads/LaunchThread.cpp\
    307                                         ./shared/Threads/PartitionRange.cpp\
    308                                         ./shared/Matlab/matlabshared.h\
    309                                         ./shared/Matlab/ModuleBoot.cpp\
    310                                         ./shared/Matlab/ModuleEnd.cpp\
    311                                         ./shared/Matlab/mxGetAssignedField.cpp\
    312                                         ./shared/Matlab/mxGetField.cpp\
    313                                         ./shared/Matlab/CheckNumMatlabArguments.cpp\
    314                                         ./shared/Matrix/matrix.h\
    315                                         ./shared/Matrix/MatrixUtils.cpp\
    316                                         ./shared/Dofs/dofs.h\
    317                                         ./shared/Dofs/dofsetgen.cpp\
    318                                         ./shared/Numerics/numerics.h\
    319                                         ./shared/Numerics/isnan.h\
    320                                         ./shared/Numerics/isnan.cpp\
    321                                         ./shared/Numerics/Verbosity.h\
    322                                         ./shared/Numerics/Verbosity.cpp\
    323                                         ./shared/Numerics/IsInputConverged.cpp\
    324                                         ./shared/Numerics/GaussPoints.h\
    325                                         ./shared/Numerics/cross.cpp\
    326                                         ./shared/Numerics/GaussPoints.cpp\
    327                                         ./shared/Numerics/BrentSearch.cpp\
    328                                         ./shared/Numerics/OptimalSearch.cpp\
    329                                         ./shared/Numerics/OptFunc.cpp\
    330                                         ./shared/Numerics/extrema.cpp\
    331                                         ./shared/Numerics/UnitConversion.cpp\
    332                                         ./shared/Numerics/PetscOptionsFromAnalysis.cpp\
    333                                         ./shared/Exceptions/exceptions.h\
    334                                         ./shared/Exceptions/Exceptions.cpp\
    335                                         ./shared/Exceptions/exprintf.cpp\
    336                                         ./shared/Exp/exp.h\
    337                                         ./shared/Exp/IsInPoly.cpp\
    338                                         ./shared/Exp/IsInPolySerial.cpp\
    339                                         ./shared/Exp/DomainOutlineRead.cpp\
    340                                         ./shared/Exp/DomainOutlineWrite.cpp\
    341                                         ./shared/TriMesh/trimesh.h\
    342                                         ./shared/TriMesh/AssociateSegmentToElement.cpp\
    343                                         ./shared/TriMesh/GridInsideHole.cpp\
    344                                         ./shared/TriMesh/OrderSegments.cpp\
    345                                         ./shared/TriMesh/SplitMeshForRifts.cpp\
    346                                         ./shared/TriMesh/TriMeshUtils.cpp\
    347                                         ./shared/Sorting/binary_search.cpp\
    348                                         ./shared/Sorting/sorting.h\
    349                                         ./shared/Elements/elements.h\
    350                                         ./shared/Elements/Paterson.cpp\
    351                                         ./shared/Elements/Arrhenius.cpp\
    352                                         ./shared/Elements/GetVerticesCoordinates.cpp\
    353                                         ./shared/Elements/GetLocalDofList.cpp\
    354                                         ./shared/Elements/GetGlobalDofList.cpp\
    355                                         ./shared/Elements/GetNumberOfDofs.cpp\
    356                                         ./shared/String/sharedstring.h\
    357                                         ./shared/Bamg/Abs.h \
    358                                         ./shared/Bamg/BigPrimeNumber.h\
    359                                         ./shared/Bamg/BigPrimeNumber.cpp\
    360                                         ./shared/Bamg/BinaryRand.h \
    361                                         ./shared/Bamg/det.h \
    362                                         ./shared/Bamg/Exchange.h \
    363                                         ./shared/Bamg/extrema.h \
    364                                         ./shared/Bamg/HeapSort.h \
    365                                         ./shared/Bamg/OppositeAngle.h \
    366                                         ./toolkits/petsc\
    367                                         ./toolkits/petsc/patches\
    368                                         ./toolkits/petsc/patches/SolverEnum.h\
    369                                         ./toolkits/petsc/patches/petscpatches.h\
    370                                         ./toolkits/petsc/patches/MatlabMatrixToPetscMatrix.cpp\
    371                                         ./toolkits/petsc/patches/MatlabVectorToPetscVector.cpp\
    372                                         ./toolkits/petsc/patches/PetscMatrixToMatlabMatrix.cpp\
    373                                         ./toolkits/petsc/patches/PetscVectorToMatlabVector.cpp\
    374                                         ./toolkits/petsc/patches/MatlabMatrixToDoubleMatrix.cpp\
    375                                         ./toolkits/petsc/patches/MatlabVectorToDoubleVector.cpp\
    376                                         ./toolkits/petsc/patches/PetscDetermineLocalSize.cpp\
    377                                         ./toolkits/petsc/patches/VecTranspose.cpp\
    378                                         ./toolkits/petsc/patches/VecToMPISerial.cpp\
    379                                         ./toolkits/petsc/patches/MatToSerial.cpp\
    380                                         ./toolkits/petsc/patches/VecMerge.cpp\
    381                                         ./toolkits/petsc/patches/NewVec.cpp\
    382                                         ./toolkits/petsc/patches/PetscOptionsDetermineSolverType.cpp\
    383                                         ./toolkits/petsc/patches/PetscOptionsInsertMultipleString.cpp\
    384                                         ./toolkits/petsc/patches/NewMat.cpp\
    385                                         ./toolkits/petsc/patches/SerialToVec.cpp\
    386                                         ./toolkits/petsc/patches/VecFree.cpp\
    387                                         ./toolkits/petsc/patches/VecDuplicatePatch.cpp\
    388                                         ./toolkits/petsc/patches/KSPFree.cpp\
    389                                         ./toolkits/petsc/patches/ISFree.cpp\
    390                                         ./toolkits/petsc/patches/MatFree.cpp\
    391                                         ./toolkits/petsc/patches/GetOwnershipBoundariesFromRange.cpp\
    392                                         ./toolkits/petsc/patches/VecPartition.cpp\
    393                                         ./toolkits/petsc/patches/MatPartition.cpp\
    394                                         ./toolkits/petsc/patches/MatInvert.cpp\
    395                                         ./toolkits/petsc/patches/MatMultPatch.cpp\
    396                                         ./toolkits/petsc/petscincludes.h\
    397                                         ./toolkits/mpi/mpiincludes.h\
    398                                         ./toolkits/mpi/patches/mpipatches.h\
    399                                         ./toolkits/mpi/patches/MPI_Upperrow.cpp\
    400                                         ./toolkits/mpi/patches/MPI_Lowerrow.cpp\
    401                                         ./toolkits/mpi/patches/MPI_Boundariesfromrange.cpp\
    402                                         ./toolkits/metis/metisincludes.h\
    403                                         ./toolkits/metis/patches/metispatches.h\
    404                                         ./toolkits/metis/patches/METIS_PartMeshNodalPatch.cpp\
    405                                         ./toolkits/triangle/triangleincludes.h\
    406                                         ./toolkits/matlab/matlabincludes.h\
    407                                         ./toolkits/matlab/MatlabNArrayToNArray.cpp\
    408                                         ./toolkits.h\
    409                                         ./io/io.h\
    410                                         ./io/Disk/diskio.h\
    411                                         ./io/Disk/pfopen.cpp\
    412                                         ./io/Disk/pfclose.cpp\
    413                                         ./io/Matlab/matlabio.h\
    414                                         ./io/Matlab/WriteMatlabData.cpp\
    415                                         ./io/Matlab/FetchMatlabData.cpp\
    416                                         ./io/Matlab/OptionParse.cpp\
    417                                         ./io/PrintfFunction.cpp\
    418                                         ./EnumDefinitions/EnumDefinitions.h\
    419                                         ./EnumDefinitions/EnumToModelField.cpp\
    420                                         ./modules/AddExternalResultx/AddExternalResultx.h\
    421                                         ./modules/AddExternalResultx/AddExternalResultx.cpp\
    422                                         ./modules/Chacox/Chacox.h\
    423                                         ./modules/Chacox/Chacox.cpp\
    424                                         ./modules/Chacox/input_parse.cpp\
    425                                         ./modules/Chacox/chaco_seconds.cpp\
    426                                         ./modules/Chacox/user_params.cpp\
    427                                         ./modules/GroundingLineMigrationx/GroundingLineMigrationx.cpp\
    428                                         ./modules/GroundingLineMigrationx/GroundingLineMigrationx.h\
    429                                         ./modules/GroundingLineMigrationx/GroundingLineMigrationxLocal.h\
    430                                         ./modules/GroundingLineMigrationx/GroundingLineMigrationxUtils.cpp\
    431                                         ./modules/ModelProcessorx/ModelProcessorx.h\
    432                                         ./modules/ModelProcessorx/ModelProcessorx.cpp\
    433                                         ./modules/ModelProcessorx/DistributeNumDofs.cpp\
    434                                         ./modules/ModelProcessorx/ElementsAndVerticesPartitioning.cpp\
    435                                         ./modules/ModelProcessorx/NodesPartitioning.cpp\
    436                                         ./modules/ModelProcessorx/SortDataSets.cpp\
    437                                         ./modules/ModelProcessorx/UpdateCounters.cpp\
    438                                         ./modules/ModelProcessorx/CreateDataSets.cpp\
    439                                         ./modules/ModelProcessorx/CreateParameters.cpp\
    440                                         ./modules/ModelProcessorx/CreateSingleNodeToElementConnectivity.cpp\
    441                                         ./modules/ModelProcessorx/CreateNumberNodeToElementConnectivity.cpp\
    442                                         ./modules/ModelProcessorx/CreateElementsVerticesAndMaterials.cpp\
    443                                         ./modules/ModelProcessorx/DiagnosticHoriz/UpdateElementsDiagnosticHoriz.cpp\
    444                                         ./modules/ModelProcessorx/DiagnosticHoriz/CreateNodesDiagnosticHoriz.cpp \
    445                                         ./modules/ModelProcessorx/DiagnosticHoriz/CreateConstraintsDiagnosticHoriz.cpp \
    446                                         ./modules/ModelProcessorx/DiagnosticHoriz/CreateLoadsDiagnosticHoriz.cpp\
    447                                         ./modules/ModelProcessorx/DiagnosticVert/UpdateElementsDiagnosticVert.cpp\
    448                                         ./modules/ModelProcessorx/DiagnosticVert/CreateNodesDiagnosticVert.cpp \
    449                                         ./modules/ModelProcessorx/DiagnosticVert/CreateConstraintsDiagnosticVert.cpp \
    450                                         ./modules/ModelProcessorx/DiagnosticVert/CreateLoadsDiagnosticVert.cpp\
    451                                         ./modules/ModelProcessorx/DiagnosticHutter/UpdateElementsDiagnosticHutter.cpp\
    452                                         ./modules/ModelProcessorx/DiagnosticHutter/CreateNodesDiagnosticHutter.cpp \
    453                                         ./modules/ModelProcessorx/DiagnosticHutter/CreateConstraintsDiagnosticHutter.cpp \
    454                                         ./modules/ModelProcessorx/DiagnosticHutter/CreateLoadsDiagnosticHutter.cpp\
    455                                         ./modules/ModelProcessorx/BedSlope/UpdateElementsBedSlope.cpp\
    456                                         ./modules/ModelProcessorx/BedSlope/CreateNodesBedSlope.cpp \
    457                                         ./modules/ModelProcessorx/BedSlope/CreateConstraintsBedSlope.cpp\
    458                                         ./modules/ModelProcessorx/BedSlope/CreateLoadsBedSlope.cpp\
    459                                         ./modules/ModelProcessorx/SurfaceSlope/UpdateElementsSurfaceSlope.cpp\
    460                                         ./modules/ModelProcessorx/SurfaceSlope/CreateNodesSurfaceSlope.cpp \
    461                                         ./modules/ModelProcessorx/SurfaceSlope/CreateConstraintsSurfaceSlope.cpp\
    462                                         ./modules/ModelProcessorx/SurfaceSlope/CreateLoadsSurfaceSlope.cpp\
    463                                         ./modules/ModelProcessorx/Control/CreateParametersControl.cpp\
    464                                         ./modules/ModelProcessorx/Control/UpdateElementsAndMaterialsControl.cpp\
    465                                         ./modules/ModelProcessorx/Thermal/UpdateElementsThermal.cpp\
    466                                         ./modules/ModelProcessorx/Thermal/CreateNodesThermal.cpp\
    467                                         ./modules/ModelProcessorx/Thermal/CreateConstraintsThermal.cpp\
    468                                         ./modules/ModelProcessorx/Thermal/CreateLoadsThermal.cpp\
    469                                         ./modules/ModelProcessorx/Enthalpy/UpdateElementsEnthalpy.cpp\
    470                                         ./modules/ModelProcessorx/Enthalpy/CreateNodesEnthalpy.cpp\
    471                                         ./modules/ModelProcessorx/Enthalpy/CreateConstraintsEnthalpy.cpp\
    472                                         ./modules/ModelProcessorx/Enthalpy/CreateLoadsEnthalpy.cpp\
    473                                         ./modules/ModelProcessorx/Hydrology/UpdateElementsHydrology.cpp\
    474                                         ./modules/ModelProcessorx/Hydrology/CreateNodesHydrology.cpp\
    475                                         ./modules/ModelProcessorx/Hydrology/CreateConstraintsHydrology.cpp\
    476                                         ./modules/ModelProcessorx/Hydrology/CreateLoadsHydrology.cpp\
    477                                         ./modules/ModelProcessorx/Melting/UpdateElementsMelting.cpp\
    478                                         ./modules/ModelProcessorx/Melting/CreateNodesMelting.cpp\
    479                                         ./modules/ModelProcessorx/Melting/CreateConstraintsMelting.cpp\
    480                                         ./modules/ModelProcessorx/Melting/CreateLoadsMelting.cpp\
    481                                         ./modules/ModelProcessorx/Prognostic/UpdateElementsPrognostic.cpp\
    482                                         ./modules/ModelProcessorx/Prognostic/CreateNodesPrognostic.cpp\
    483                                         ./modules/ModelProcessorx/Prognostic/CreateConstraintsPrognostic.cpp\
    484                                         ./modules/ModelProcessorx/Prognostic/CreateLoadsPrognostic.cpp\
    485                                         ./modules/ModelProcessorx/Balancethickness/UpdateElementsBalancethickness.cpp\
    486                                         ./modules/ModelProcessorx/Balancethickness/CreateNodesBalancethickness.cpp\
    487                                         ./modules/ModelProcessorx/Balancethickness/CreateConstraintsBalancethickness.cpp\
    488                                         ./modules/ModelProcessorx/Balancethickness/CreateLoadsBalancethickness.cpp\
    489                                         ./modules/ModelProcessorx/Transient/UpdateElementsTransient.cpp\
    490                                         ./modules/ModelProcessorx/Qmu/CreateParametersQmu.cpp\
    491                                         ./modules/ParsePetscOptionsx/ParsePetscOptionsx.h\
    492                                         ./modules/ParsePetscOptionsx/ParsePetscOptionsx.cpp\
    493                                         ./modules/NodesDofx/NodesDofx.h\
    494                                         ./modules/NodesDofx/NodesDofx.cpp\
    495                                         ./modules/NodalValuex/NodalValuex.h\
    496                                         ./modules/NodalValuex/NodalValuex.cpp\
    497                                         ./modules/TriaSearchx/TriaSearchx.h\
    498                                         ./modules/TriaSearchx/TriaSearchx.cpp\
    499                                         ./modules/VerticesDofx/VerticesDofx.h\
    500                                         ./modules/VerticesDofx/VerticesDofx.cpp\
    501                                         ./modules/OutputResultsx/OutputResultsx.h\
    502                                         ./modules/OutputResultsx/OutputResultsx.cpp\
    503                                         ./modules/PointCloudFindNeighborsx/PointCloudFindNeighborsx.h\
    504                                         ./modules/PointCloudFindNeighborsx/PointCloudFindNeighborsx.cpp\
    505                                         ./modules/PointCloudFindNeighborsx/PointCloudFindNeighborsxt.cpp\
    506                                         ./modules/MinVelx/MinVelx.h\
    507                                         ./modules/MinVelx/MinVelx.cpp\
    508                                         ./modules/MaxVelx/MaxVelx.h\
    509                                         ./modules/MaxVelx/MaxVelx.cpp\
    510                                         ./modules/MaxAbsVxx/MaxAbsVxx.h\
    511                                         ./modules/MaxAbsVxx/MaxAbsVxx.cpp\
    512                                         ./modules/MaxAbsVyx/MaxAbsVyx.h\
    513                                         ./modules/MaxAbsVyx/MaxAbsVyx.cpp\
    514                                         ./modules/MaxAbsVzx/MaxAbsVzx.h\
    515                                         ./modules/MaxAbsVzx/MaxAbsVzx.cpp\
    516                                         ./modules/MaxVxx/MaxVxx.h\
    517                                         ./modules/MaxVxx/MaxVxx.cpp\
    518                                         ./modules/MaxVyx/MaxVyx.h\
    519                                         ./modules/MaxVyx/MaxVyx.cpp\
    520                                         ./modules/MaxVzx/MaxVzx.h\
    521                                         ./modules/MaxVzx/MaxVzx.cpp\
    522                                         ./modules/MinVxx/MinVxx.h\
    523                                         ./modules/MinVxx/MinVxx.cpp\
    524                                         ./modules/MinVyx/MinVyx.h\
    525                                         ./modules/MinVyx/MinVyx.cpp\
    526                                         ./modules/MinVzx/MinVzx.h\
    527                                         ./modules/MinVzx/MinVzx.cpp\
    528                                         ./modules/KMLMeshWritex/KMLFileReadx.h\
    529                                         ./modules/KMLMeshWritex/KMLFileReadx.cpp\
    530                                         ./modules/KMLMeshWritex/KMLMeshWritex.h\
    531                                         ./modules/KMLMeshWritex/KMLMeshWritex.cpp\
    532                                         ./modules/KMLOverlayx/KMLOverlayx.h\
    533                                         ./modules/KMLOverlayx/KMLOverlayx.cpp\
    534                                         ./modules/Xy2llx/Xy2llx.h\
    535                                         ./modules/Xy2llx/Xy2llx.cpp\
    536                                         ./modules/Ll2xyx/Ll2xyx.h\
    537                                         ./modules/Ll2xyx/Ll2xyx.cpp\
    538                                         ./modules/Exp2Kmlx/Exp2Kmlx.h\
    539                                         ./modules/Exp2Kmlx/Exp2Kmlx.cpp\
    540                                         ./modules/Kml2Expx/Kml2Expx.h\
    541                                         ./modules/Kml2Expx/Kml2Expx.cpp\
    542                                         ./modules/Shp2Kmlx/Shp2Kmlx.h\
    543                                         ./modules/Shp2Kmlx/Shp2Kmlx.cpp\
    544                                         ./modules/InputDuplicatex/InputDuplicatex.h\
    545                                         ./modules/InputDuplicatex/InputDuplicatex.cpp\
    546                                         ./modules/InputScalex/InputScalex.h\
    547                                         ./modules/InputScalex/InputScalex.cpp\
    548                                         ./modules/InputControlUpdatex/InputControlUpdatex.h\
    549                                         ./modules/InputControlUpdatex/InputControlUpdatex.cpp\
    550                                         ./modules/SurfaceAreax/SurfaceAreax.h\
    551                                         ./modules/SurfaceAreax/SurfaceAreax.cpp\
    552                                         ./modules/IceVolumex/IceVolumex.h\
    553                                         ./modules/IceVolumex/IceVolumex.cpp\
    554                                         ./modules/SurfaceAbsVelMisfitx/SurfaceAbsVelMisfitx.h\
    555                                         ./modules/SurfaceAbsVelMisfitx/SurfaceAbsVelMisfitx.cpp\
    556                                         ./modules/SurfaceRelVelMisfitx/SurfaceRelVelMisfitx.h\
    557                                         ./modules/SurfaceRelVelMisfitx/SurfaceRelVelMisfitx.cpp\
    558                                         ./modules/SurfaceLogVelMisfitx/SurfaceLogVelMisfitx.h\
    559                                         ./modules/SurfaceLogVelMisfitx/SurfaceLogVelMisfitx.cpp\
    560                                         ./modules/SurfaceLogVxVyMisfitx/SurfaceLogVxVyMisfitx.h\
    561                                         ./modules/SurfaceLogVxVyMisfitx/SurfaceLogVxVyMisfitx.cpp\
    562                                         ./modules/SurfaceAverageVelMisfitx/SurfaceAverageVelMisfitx.h\
    563                                         ./modules/SurfaceAverageVelMisfitx/SurfaceAverageVelMisfitx.cpp\
    564                                         ./modules/ThicknessAbsMisfitx/ThicknessAbsMisfitx.h\
    565                                         ./modules/ThicknessAbsMisfitx/ThicknessAbsMisfitx.cpp\
    566                                         ./modules/CostFunctionx/CostFunctionx.h\
    567                                         ./modules/CostFunctionx/CostFunctionx.cpp\
    568                                         ./modules/CreateNodalConstraintsx/CreateNodalConstraintsx.h\
    569                                         ./modules/CreateNodalConstraintsx/CreateNodalConstraintsx.cpp\
    570                                         ./modules/Orthx/Orthx.h\
    571                                         ./modules/Orthx/Orthx.cpp\
    572                                         ./modules/UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.h\
    573                                         ./modules/UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.cpp\
    574                                         ./modules/Gradjx/Gradjx.h\
    575                                         ./modules/Gradjx/Gradjx.cpp\
    576                                         ./modules/IoModelToConstraintsx/IoModelToConstraintsx.h\
    577                                         ./modules/IoModelToConstraintsx/IoModelToConstraintsx.cpp\
    578                                         ./modules/InputUpdateFromConstantx/InputUpdateFromConstantx.h\
    579                                         ./modules/InputUpdateFromConstantx/InputUpdateFromConstantx.cpp\
    580                                         ./modules/InputUpdateFromSolutionx/InputUpdateFromSolutionx.h\
    581                                         ./modules/InputUpdateFromSolutionx/InputUpdateFromSolutionx.cpp\
    582                                         ./modules/GetSolutionFromInputsx/GetSolutionFromInputsx.h\
    583                                         ./modules/GetSolutionFromInputsx/GetSolutionFromInputsx.cpp\
    584                                         ./modules/GetVectorFromInputsx/GetVectorFromInputsx.h\
    585                                         ./modules/GetVectorFromInputsx/GetVectorFromInputsx.cpp\
    586                                         ./modules/InputUpdateFromVectorx/InputUpdateFromVectorx.h\
    587                                         ./modules/InputUpdateFromVectorx/InputUpdateFromVectorx.cpp\
    588                                         ./modules/InputArtificialNoisex/InputArtificialNoisex.h\
    589                                         ./modules/InputArtificialNoisex/InputArtificialNoisex.cpp\
    590                                         ./modules/TimeAdaptx/TimeAdaptx.h\
    591                                         ./modules/TimeAdaptx/TimeAdaptx.cpp\
    592                                         ./modules/UpdateVertexPositionsx/UpdateVertexPositionsx.h\
    593                                         ./modules/UpdateVertexPositionsx/UpdateVertexPositionsx.cpp\
    594                                         ./modules/ConfigureObjectsx/ConfigureObjectsx.h\
    595                                         ./modules/ConfigureObjectsx/ConfigureObjectsx.cpp\
    596                                         ./modules/ComputeBasalStressx/ComputeBasalStressx.h\
    597                                         ./modules/ComputeBasalStressx/ComputeBasalStressx.cpp\
    598                                         ./modules/ComputeStrainRatex/ComputeStrainRatex.h\
    599                                         ./modules/ComputeStrainRatex/ComputeStrainRatex.cpp\
    600                                         ./modules/SpcNodesx/SpcNodesx.h\
    601                                         ./modules/SpcNodesx/SpcNodesx.cpp\
    602                                         ./modules/UpdateConstraintsx/UpdateConstraintsx.h\
    603                                         ./modules/UpdateConstraintsx/UpdateConstraintsx.cpp\
    604                                         ./modules/InterpFromGridToMeshx/InterpFromGridToMeshx.cpp\
    605                                         ./modules/InterpFromGridToMeshx/InterpFromGridToMeshx.h\
    606                                         ./modules/InterpFromMesh2dx/InterpFromMesh2dx.cpp\
    607                                         ./modules/InterpFromMesh2dx/InterpFromMesh2dxt.cpp\
    608                                         ./modules/InterpFromMesh2dx/InterpFromMesh2dx.h\
    609                                         ./modules/InterpFromMeshToMesh2dx/InterpFromMeshToMesh2dx.cpp\
    610                                         ./modules/InterpFromMeshToMesh2dx/InterpFromMeshToMesh2dx.h\
    611                                         ./modules/InterpFromMeshToMesh3dx/InterpFromMeshToMesh3dx.cpp\
    612                                         ./modules/InterpFromMeshToMesh3dx/InterpFromMeshToMesh3dx.h\
    613                                         ./modules/InterpFromMeshToGridx/InterpFromMeshToGridx.cpp\
    614                                         ./modules/InterpFromMeshToGridx/InterpFromMeshToGridx.h\
    615                                         ./modules/HoleFillerx/HoleFillerx.cpp\
    616                                         ./modules/HoleFillerx/HoleFillerx.h\
    617                                         ./modules/AverageFilterx/AverageFilterx.cpp\
    618                                         ./modules/AverageFilterx/AverageFilterx.h\
    619                                         ./modules/AverageOntoPartitionx/AverageOntoPartitionx.cpp\
    620                                         ./modules/AverageOntoPartitionx/AverageOntoPartitionx.h\
    621                                         ./modules/MeshPartitionx/MeshPartitionx.cpp\
    622                                         ./modules/MeshPartitionx/MeshPartitionx.h\
    623                                         ./modules/MeshProfileIntersectionx/MeshProfileIntersectionx.cpp\
    624                                         ./modules/MeshProfileIntersectionx/MeshProfileIntersectionx.h\
    625                                         ./modules/MeshProfileIntersectionx/MeshSegmentsIntersection.cpp\
    626                                         ./modules/MeshProfileIntersectionx/ElementSegmentsIntersection.cpp\
    627                                         ./modules/MeshProfileIntersectionx/ElementSegment.cpp\
    628                                         ./modules/MeshProfileIntersectionx/SegmentIntersect.cpp\
    629                                         ./modules/MeshProfileIntersectionx/NodeInElement.cpp\
    630                                         ./modules/ContourToMeshx/ContourToMeshx.cpp\
    631                                         ./modules/ContourToMeshx/ContourToMeshxt.cpp\
    632                                         ./modules/ContourToMeshx/ContourToMeshx.h\
    633                                         ./modules/ContourToNodesx/ContourToNodesx.cpp\
    634                                         ./modules/ContourToNodesx/ContourToNodesx.h\
    635                                         ./modules/Reducevectorgtosx/Reducevectorgtosx.cpp\
    636                                         ./modules/Reducevectorgtosx/Reducevectorgtosx.h\
    637                                         ./modules/Reducevectorgtofx/Reducevectorgtofx.cpp\
    638                                         ./modules/Reducevectorgtofx/Reducevectorgtofx.h\
    639                                         ./modules/Reduceloadx/Reduceloadx.h\
    640                                         ./modules/Reduceloadx/Reduceloadx.cpp\
    641                                         ./modules/NodeConnectivityx/NodeConnectivityx.cpp\
    642                                         ./modules/NodeConnectivityx/NodeConnectivityx.h\
    643                                         ./modules/ElementConnectivityx/ElementConnectivityx.cpp\
    644                                         ./modules/ElementConnectivityx/ElementConnectivityx.h\
    645                                         ./modules/EnumToStringx/EnumToStringx.cpp\
    646                                         ./modules/EnumToStringx/EnumToStringx.h\
    647                                         ./modules/StringToEnumx/StringToEnumx.cpp\
    648                                         ./modules/StringToEnumx/StringToEnumx.h\
    649                                         ./modules/MassFluxx/MassFluxx.cpp\
    650                                         ./modules/MassFluxx/MassFluxx.h\
    651                                         ./modules/ControlInputGetGradientx/ControlInputGetGradientx.cpp\
    652                                         ./modules/ControlInputGetGradientx/ControlInputGetGradientx.h\
    653                                         ./modules/ControlInputSetGradientx/ControlInputSetGradientx.cpp\
    654                                         ./modules/ControlInputSetGradientx/ControlInputSetGradientx.h\
    655                                         ./modules/ControlInputScaleGradientx/ControlInputScaleGradientx.cpp\
    656                                         ./modules/ControlInputScaleGradientx/ControlInputScaleGradientx.h\
    657                                         ./modules/SystemMatricesx/SystemMatricesx.cpp\
    658                                         ./modules/SystemMatricesx/SystemMatricesx.h\
    659                                         ./modules/ConstraintsStatex/ConstraintsStatex.cpp\
    660                                         ./modules/ConstraintsStatex/ConstraintsStatex.h\
    661                                         ./modules/ConstraintsStatex/ConstraintsStateLocal.h\
    662                                         ./modules/ConstraintsStatex/RiftConstraintsState.cpp\
    663                                         ./modules/ConstraintsStatex/ThermalConstraintsState.cpp\
    664                                         ./modules/ConstraintsStatex/ThermalIsPresent.cpp\
    665                                         ./modules/Responsex/Responsex.h\
    666                                         ./modules/Responsex/Responsex.cpp\
    667                                         ./modules/RequestedOutputsx/RequestedOutputsx.h\
    668                                         ./modules/RequestedOutputsx/RequestedOutputsx.cpp\
    669                                         ./modules/ResetConstraintsx/ResetConstraintsx.h\
    670                                         ./modules/ResetConstraintsx/ResetConstraintsx.cpp\
    671                                         ./modules/ResetConstraintsx/ThermalConstraintsReset.cpp\
    672                                         ./modules/Scotchx/Scotchx.cpp\
    673                                         ./modules/Scotchx/Scotchx.h\
    674                                         ./modules/Solverx/Solverx.cpp\
    675                                         ./modules/Solverx/Solverx.h\
    676                                         ./modules/VecMergex/VecMergex.cpp\
    677                                         ./modules/VecMergex/VecMergex.h\
    678                                         ./modules/Mergesolutionfromftogx/Mergesolutionfromftogx.cpp\
    679                                         ./modules/Mergesolutionfromftogx/Mergesolutionfromftogx.h\
    680                                         ./modules/PropagateFlagsFromConnectivityx/PropagateFlagsFromConnectivityx.cpp\
    681                                         ./modules/PropagateFlagsFromConnectivityx/PropagateFlagsFromConnectivityx.h\
    682                                         ./modules/InputToResultx/InputToResultx.cpp\
    683                                         ./modules/InputToResultx/InputToResultx.h\
    684                                         ./modules/InputConvergencex/InputConvergencex.cpp\
    685                                         ./modules/InputConvergencex/InputConvergencex.h\
    686                                         ./modules/Bamgx/Bamgx.cpp\
    687                                         ./modules/Bamgx/Bamgx.h\
    688                                         ./modules/BamgConvertMeshx/BamgConvertMeshx.cpp\
    689                                         ./modules/BamgConvertMeshx/BamgConvertMeshx.h\
    690                                         ./modules/BamgTriangulatex/BamgTriangulatex.cpp\
    691                                         ./modules/BamgTriangulatex/BamgTriangulatex.h\
    692                                         ./modules/DragCoefficientAbsGradientx/DragCoefficientAbsGradientx.cpp\
    693                                         ./modules/DragCoefficientAbsGradientx/DragCoefficientAbsGradientx.h\
    694                                         ./modules/ThicknessAbsGradientx/ThicknessAbsGradientx.cpp\
    695                                         ./modules/ThicknessAbsGradientx/ThicknessAbsGradientx.h\
    696                                         ./modules/RheologyBbarAbsGradientx/RheologyBbarAbsGradientx.cpp\
    697                                         ./modules/RheologyBbarAbsGradientx/RheologyBbarAbsGradientx.h\
    698                                         ./modules/RheologyBbarx/RheologyBbarx.cpp\
    699                                         ./modules/RheologyBbarx/RheologyBbarx.h
    700 
    701 
    702 libISSM_a_CXXFLAGS = -fPIC -DMATLAB -D_SERIAL_ -ansi -D_GNU_SOURCE -fno-omit-frame-pointer -pthread -D_CPP_  $(CXXOPTFLAGS)
    703 if LARGEARRAYS
    704 libISSM_a_CXXFLAGS += -D__GCC4BUILD__ 
    705 else
    706 libISSM_a_CXXFLAGS += -DMX_COMPAT_32
    707 endif
    708 
    709 #}}}
    710 #DAKOTA sources  {{{1
    711 if DAKOTA
    712 libISSM_a_SOURCES +=  ./objects/DakotaPlugin.h\
    713                                           ./objects/DakotaPlugin.cpp\
    714                                           ./modules/InputUpdateFromDakotax/InputUpdateFromDakotax.h\
    715                                           ./modules/InputUpdateFromDakotax/InputUpdateFromDakotax.cpp\
    716                                           ./modules/DakotaResponsesx/DakotaResponsesx.h\
    717                                           ./modules/DakotaResponsesx/DakotaResponsesx.cpp\
    718                                           ./modules/InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.h\
    719                                           ./modules/InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.cpp\
    720                                           ./modules/AverageOntoPartitionx/AverageOntoPartitionx.cpp\
    721                                           ./modules/AverageOntoPartitionx/AverageOntoPartitionx.h\
    722                                           ./modules/Dakotax/Dakotax.h\
    723                                           ./modules/Dakotax/Dakotax.cpp\
    724                                           ./modules/Dakotax/DakotaMPI_Bcast.cpp\
    725                                           ./modules/Dakotax/DakotaFree.cpp\
    726                                           ./modules/Dakotax/SpawnCore.cpp\
    727                                           ./modules/Dakotax/SpawnCoreSerial.cpp\
    728                                           ./modules/Dakotax/DescriptorIndex.cpp\
    729                                           ./modules/AverageOntoPartitionx/AverageOntoPartitionx.cpp\
    730                                           ./modules/ModelProcessorx/Qmu/CreateParametersQmu.cpp\
    731                                           ./modules/AverageOntoPartitionx/AverageOntoPartitionx.h
    732 endif
    733 #}}}
    734 
    735 #For parallel compilation
    736 #ISSM parallel library  {{{1
    737 libpISSM_a_SOURCES = ./include/macros.h\
     21#Our sources
     22#Core sources{{{1
     23core_sources   =    ./include/macros.h\
    73824                                        ./include/typedefs.h\
    73925                                        ./include/types.h\
     
    1061347                                        ./solvers/solver_linear.cpp\
    1062348                                        ./solvers/solver_nonlinear.cpp
    1063 
    1064 
    1065 libpISSM_a_CXXFLAGS = -fPIC -D_PARALLEL_   -D_C_ $(CXXOPTFLAGS)
    1066 #}}}
    1067 #Overload library, to overload any non-standard symbols. {{{1
    1068 libOverload_a_SOURCES = ./shared/String/stricmp.c
    1069 libOverload_a_CFLAGS = -fPIC -D_PARALLEL_   -D_C_ $(COPTFLAGS)
    1070349#}}}
    1071350#DAKOTA sources  {{{1
    1072 if DAKOTA
    1073 libpISSM_a_SOURCES +=  ./objects/DakotaPlugin.h\
    1074                                            ./objects/DakotaPlugin.cpp\
    1075                                            ./modules/InputUpdateFromDakotax/InputUpdateFromDakotax.h\
    1076                                            ./modules/InputUpdateFromDakotax/InputUpdateFromDakotax.cpp\
    1077                                            ./modules/DakotaResponsesx/DakotaResponsesx.h\
    1078                                            ./modules/DakotaResponsesx/DakotaResponsesx.cpp\
    1079                                            ./modules/InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.h\
    1080                                            ./modules/InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.cpp\
    1081                                            ./modules/AverageOntoPartitionx/AverageOntoPartitionx.cpp\
    1082                                            ./modules/AverageOntoPartitionx/AverageOntoPartitionx.h\
    1083                                            ./modules/Dakotax/Dakotax.h\
    1084                                            ./modules/Dakotax/Dakotax.cpp\
    1085                                            ./modules/Dakotax/DakotaMPI_Bcast.cpp\
    1086                                            ./modules/Dakotax/DakotaFree.cpp\
    1087                                            ./modules/Dakotax/SpawnCore.cpp\
    1088                                            ./modules/Dakotax/SpawnCoreParallel.cpp\
    1089                                            ./modules/Dakotax/DescriptorIndex.cpp\
    1090                                            ./modules/AverageOntoPartitionx/AverageOntoPartitionx.cpp\
    1091                                            ./modules/ModelProcessorx/Qmu/CreateParametersQmu.cpp\
    1092                                            ./modules/AverageOntoPartitionx/AverageOntoPartitionx.h
    1093 endif
     351dakota_sources     =  ./objects/DakotaPlugin.h\
     352                                          ./objects/DakotaPlugin.cpp\
     353                                          ./modules/InputUpdateFromDakotax/InputUpdateFromDakotax.h\
     354                                          ./modules/InputUpdateFromDakotax/InputUpdateFromDakotax.cpp\
     355                                          ./modules/DakotaResponsesx/DakotaResponsesx.h\
     356                                          ./modules/DakotaResponsesx/DakotaResponsesx.cpp\
     357                                          ./modules/InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.h\
     358                                          ./modules/InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.cpp\
     359                                          ./modules/AverageOntoPartitionx/AverageOntoPartitionx.cpp\
     360                                          ./modules/AverageOntoPartitionx/AverageOntoPartitionx.h\
     361                                          ./modules/Dakotax/Dakotax.h\
     362                                          ./modules/Dakotax/Dakotax.cpp\
     363                                          ./modules/Dakotax/DakotaMPI_Bcast.cpp\
     364                                          ./modules/Dakotax/DakotaFree.cpp\
     365                                          ./modules/Dakotax/SpawnCore.cpp\
     366                                          ./modules/Dakotax/SpawnCoreSerial.cpp\
     367                                          ./modules/Dakotax/DescriptorIndex.cpp\
     368                                          ./modules/AverageOntoPartitionx/AverageOntoPartitionx.cpp\
     369                                          ./modules/ModelProcessorx/Qmu/CreateParametersQmu.cpp\
     370                                          ./modules/AverageOntoPartitionx/AverageOntoPartitionx.h
    1094371#}}}
    1095372#Transient sources  {{{1
    1096 if TRANSIENT
    1097 libpISSM_a_SOURCES +=  ./solutions/transient_core.cpp\
    1098                                            ./modules/ModelProcessorx/Transient/UpdateElementsTransient.cpp
    1099 endif
     373transient_sources  =   ./modules/ModelProcessorx/Transient/UpdateElementsTransient.cpp
     374transient_psources  =   ./solutions/transient_core.cpp
    1100375#}}}
    1101376#Steadystate sources  {{{1
    1102 if STEADYSTATE
    1103 libpISSM_a_SOURCES += ./solutions/steadystate_core.cpp\
     377steadystate_psources = ./solutions/steadystate_core.cpp\
    1104378                                          ./solutions/steadystateconvergence.cpp
    1105 endif
    1106379#}}}
    1107380#Prognostic sources  {{{1
    1108 if PROGNOSTIC
    1109 libpISSM_a_SOURCES +=  ./solutions/prognostic_core.cpp\
    1110                                            ./modules/ModelProcessorx/Prognostic/UpdateElementsPrognostic.cpp\
     381prognostic_sources =  ./modules/ModelProcessorx/Prognostic/UpdateElementsPrognostic.cpp\
    1111382                                           ./modules/ModelProcessorx/Prognostic/CreateNodesPrognostic.cpp\
    1112383                                           ./modules/ModelProcessorx/Prognostic/CreateConstraintsPrognostic.cpp\
    1113384                                           ./modules/ModelProcessorx/Prognostic/CreateLoadsPrognostic.cpp
    1114 
    1115 endif
     385prognostic_psources =  ./solutions/prognostic_core.cpp
     386
    1116387#}}}
    1117388#Thermal sources  {{{1
    1118 if THERMAL
    1119 libpISSM_a_SOURCES +=  ./solutions/thermal_core.cpp\
    1120                                            ./solutions/thermal_core_step.cpp\
    1121                                            ./solutions/enthalpy_core.cpp\
    1122                                            ./solvers/solver_thermal_nonlinear.cpp\
    1123                                            ./modules/ModelProcessorx/Thermal/UpdateElementsThermal.cpp\
     389thermal_sources =      ./modules/ModelProcessorx/Thermal/UpdateElementsThermal.cpp\
    1124390                                           ./modules/ModelProcessorx/Thermal/CreateNodesThermal.cpp\
    1125391                                           ./modules/ModelProcessorx/Thermal/CreateConstraintsThermal.cpp\
     
    1136402                                           ./modules/ConstraintsStatex/ThermalIsPresent.cpp\
    1137403                                           ./modules/ResetConstraintsx/ThermalConstraintsReset.cpp
    1138 endif
     404
     405thermal_psources =      ./solutions/thermal_core.cpp\
     406                                           ./solutions/thermal_core_step.cpp\
     407                                           ./solutions/enthalpy_core.cpp\
     408                                           ./solvers/solver_thermal_nonlinear.cpp
    1139409#}}}
    1140410#Control sources  {{{1
    1141 if CONTROL
    1142 libpISSM_a_SOURCES += ./solutions/control_core.cpp\
    1143                                           ./solutions/controltao_core.cpp\
    1144                                           ./solutions/controlrestart.cpp\
    1145                                           ./solutions/controlconvergence.cpp\
    1146                                           ./solutions/objectivefunctionC.cpp\
    1147                                           ./solutions/gradient_core.cpp\
    1148                                           ./solutions/adjointdiagnostic_core.cpp\
    1149                                           ./solutions/adjointbalancethickness_core.cpp\
    1150                                           ./solutions/AdjointCorePointerFromSolutionEnum.cpp\
    1151                                           ./solvers/solver_adjoint_linear.cpp\
    1152                                           ./modules/ControlInputGetGradientx/ControlInputGetGradientx.cpp\
     411control_sources =     ./modules/ControlInputGetGradientx/ControlInputGetGradientx.cpp\
    1153412                                          ./modules/ControlInputGetGradientx/ControlInputGetGradientx.h\
    1154413                                          ./modules/ControlInputSetGradientx/ControlInputSetGradientx.cpp\
     
    1189448                                          ./shared/Numerics/OptimalSearch.cpp\
    1190449                                          ./shared/Numerics/OptFunc.cpp
    1191 endif
     450
     451control_psources =     ./solutions/control_core.cpp\
     452                                          ./solutions/controltao_core.cpp\
     453                                          ./solutions/controlrestart.cpp\
     454                                          ./solutions/controlconvergence.cpp\
     455                                          ./solutions/objectivefunctionC.cpp\
     456                                          ./solutions/gradient_core.cpp\
     457                                          ./solutions/adjointdiagnostic_core.cpp\
     458                                          ./solutions/adjointbalancethickness_core.cpp\
     459                                          ./solutions/AdjointCorePointerFromSolutionEnum.cpp\
     460                                          ./solvers/solver_adjoint_linear.cpp
     461
    1192462#}}}
    1193463#Hydrology sources  {{{1
    1194 if HYDROLOGY
    1195 libpISSM_a_SOURCES += ./modules/ModelProcessorx/Hydrology/UpdateElementsHydrology.cpp\
     464hydrology_sources  =  ./modules/ModelProcessorx/Hydrology/UpdateElementsHydrology.cpp\
    1196465                                          ./modules/ModelProcessorx/Hydrology/CreateNodesHydrology.cpp\
    1197466                                          ./modules/ModelProcessorx/Hydrology/CreateConstraintsHydrology.cpp\
    1198                                           ./modules/ModelProcessorx/Hydrology/CreateLoadsHydrology.cpp\
    1199                                           ./solutions/hydrology_core.cpp\
    1200                                           ./solutions/hydrology_core_step.cpp
    1201 endif
     467                                          ./modules/ModelProcessorx/Hydrology/CreateLoadsHydrology.cpp
     468                                         
     469hydrology_psources  = ./solutions/hydrology_core.cpp\
     470                                          ./solutions/hydrology_core_step.cpp
    1202471#}}}
    1203472#Diagnostic sources  {{{1
    1204 if DIAGNOSTIC
    1205 libpISSM_a_SOURCES += ./modules/ModelProcessorx/DiagnosticHoriz/UpdateElementsDiagnosticHoriz.cpp\
     473diagnostic_sources = ./modules/ModelProcessorx/DiagnosticHoriz/UpdateElementsDiagnosticHoriz.cpp\
    1206474                                          ./modules/ModelProcessorx/DiagnosticHoriz/CreateNodesDiagnosticHoriz.cpp \
    1207475                                          ./modules/ModelProcessorx/DiagnosticHoriz/CreateConstraintsDiagnosticHoriz.cpp \
     
    1214482                                          ./modules/ModelProcessorx/DiagnosticHutter/CreateNodesDiagnosticHutter.cpp \
    1215483                                          ./modules/ModelProcessorx/DiagnosticHutter/CreateConstraintsDiagnosticHutter.cpp \
    1216                                           ./modules/ModelProcessorx/DiagnosticHutter/CreateLoadsDiagnosticHutter.cpp\
    1217                                           ./solutions/diagnostic_core.cpp\
     484                                          ./modules/ModelProcessorx/DiagnosticHutter/CreateLoadsDiagnosticHutter.cpp
     485diagnostic_psources = ./solutions/diagnostic_core.cpp\
    1218486                                          ./solvers/solver_stokescoupling_nonlinear.cpp
    1219 endif
    1220487#}}}
    1221488#Balanced sources  {{{1
    1222 if BALANCED
    1223 libpISSM_a_SOURCES += ./modules/ModelProcessorx/Balancethickness/UpdateElementsBalancethickness.cpp\
     489balanced_sources = ./modules/ModelProcessorx/Balancethickness/UpdateElementsBalancethickness.cpp\
    1224490                                          ./modules/ModelProcessorx/Balancethickness/CreateNodesBalancethickness.cpp\
    1225491                                          ./modules/ModelProcessorx/Balancethickness/CreateConstraintsBalancethickness.cpp\
    1226                                           ./modules/ModelProcessorx/Balancethickness/CreateLoadsBalancethickness.cpp\
    1227                                           ./solutions/balancethickness_core.cpp
    1228 endif
     492                                          ./modules/ModelProcessorx/Balancethickness/CreateLoadsBalancethickness.cpp
     493balanced_psources = ./solutions/balancethickness_core.cpp
    1229494#}}}
    1230495#Responses sources  {{{1
    1231 if RESPONSES
    1232 libpISSM_a_SOURCES += ./modules/MinVelx/MinVelx.h\
     496responses_sources =   ./modules/MinVelx/MinVelx.h\
    1233497                                          ./modules/MinVelx/MinVelx.cpp\
    1234498                                          ./modules/MaxVelx/MaxVelx.h\
     
    1258522                                          ./modules/MassFluxx/MassFluxx.cpp\
    1259523                                          ./modules/MassFluxx/MassFluxx.h
    1260 endif
    1261524#}}}
    1262525#Slope sources  {{{1
    1263 if SLOPE
    1264 libpISSM_a_SOURCES += ./modules/ModelProcessorx/BedSlope/UpdateElementsBedSlope.cpp\
     526slope_sources =       ./modules/ModelProcessorx/BedSlope/UpdateElementsBedSlope.cpp\
    1265527                                          ./modules/ModelProcessorx/BedSlope/CreateNodesBedSlope.cpp \
    1266528                                          ./modules/ModelProcessorx/BedSlope/CreateConstraintsBedSlope.cpp\
     
    1269531                                          ./modules/ModelProcessorx/SurfaceSlope/CreateNodesSurfaceSlope.cpp \
    1270532                                          ./modules/ModelProcessorx/SurfaceSlope/CreateConstraintsSurfaceSlope.cpp\
    1271                                           ./modules/ModelProcessorx/SurfaceSlope/CreateLoadsSurfaceSlope.cpp\
    1272                                           ./solutions/surfaceslope_core.cpp\
     533                                          ./modules/ModelProcessorx/SurfaceSlope/CreateLoadsSurfaceSlope.cpp
     534slope_psources =       ./solutions/surfaceslope_core.cpp\
    1273535                                          ./solutions/bedslope_core.cpp
    1274 endif
    1275536#}}}
    1276537#GroundingLine sources  {{{1
     538groundingline_sources= ./modules/GroundingLineMigrationx/GroundingLineMigrationx.cpp\
     539                                           ./modules/GroundingLineMigrationx/GroundingLineMigrationx.h\
     540                                           ./modules/GroundingLineMigrationx/GroundingLineMigrationxLocal.h\
     541                                           ./modules/GroundingLineMigrationx/GroundingLineMigrationxUtils.cpp
     542groundingline_psources= ./solutions/groundinglinemigration2d_core.cpp
     543#}}}
     544#Rifts sources  {{{1
     545rifts_sources = ./objects/Loads/Riftfront.cpp\
     546                                ./objects/Loads/Riftfront.h\
     547                                ./modules/ConstraintsStatex/RiftConstraintsState.cpp
     548#}}}
     549#3D sources  {{{1
     550threed_sources = ./objects/Gauss/GaussPenta.h\
     551                                 ./objects/Gauss/GaussPenta.cpp\
     552                                 ./objects/ElementResults/PentaVertexElementResult.h\
     553                                 ./objects/ElementResults/PentaVertexElementResult.cpp\
     554                                 ./objects/Inputs/PentaVertexInput.h\
     555                                 ./objects/Inputs/PentaVertexInput.cpp\
     556                                 ./objects/Elements/Penta.h\
     557                                 ./objects/Elements/Penta.cpp\
     558                                 ./objects/Elements/PentaHook.h\
     559                                 ./objects/Elements/PentaHook.cpp\
     560                                 ./objects/Elements/PentaRef.h\
     561                                 ./objects/Elements/PentaRef.cpp
     562#}}}
     563#Bamg sources  {{{1
     564bamg_sources =  ./objects/Bamg/BamgGeom.h\
     565                                ./objects/Bamg/BamgGeom.cpp\
     566                                ./objects/Bamg/BamgMesh.h\
     567                                ./objects/Bamg/BamgMesh.cpp\
     568                                ./objects/Bamg/BamgOpts.h\
     569                                ./objects/Bamg/BamgOpts.cpp\
     570                                ./objects/Bamg/CrackedEdge.h\
     571                                ./objects/Bamg/CrackedEdge.cpp\
     572                                ./objects/Bamg/Curve.h\
     573                                ./objects/Bamg/Curve.cpp\
     574                                ./objects/Bamg/Direction.h\
     575                                ./objects/Bamg/Direction.cpp\
     576                                ./objects/Bamg/DoubleAndInt.h\
     577                                ./objects/Bamg/Edge.h\
     578                                ./objects/Bamg/Edge.cpp\
     579                                ./objects/Bamg/GeomEdge.h\
     580                                ./objects/Bamg/GeomEdge.cpp\
     581                                ./objects/Bamg/GeomSubDomain.h\
     582                                ./objects/Bamg/GeomSubDomain.cpp\
     583                                ./objects/Bamg/GeomVertex.h\
     584                                ./objects/Bamg/GeomVertex.cpp\
     585                                ./objects/Bamg/Geometry.cpp\
     586                                ./objects/Bamg/Geometry.h\
     587                                ./objects/Bamg/ListofIntersectionTriangles.cpp\
     588                                ./objects/Bamg/ListofIntersectionTriangles.h\
     589                                ./objects/Bamg/EigenMetric.cpp\
     590                                ./objects/Bamg/Metric.cpp\
     591                                ./objects/Bamg/Metric.h\
     592                                ./objects/Bamg/QuadTree.cpp\
     593                                ./objects/Bamg/QuadTree.h\
     594                                ./objects/Bamg/R2.h\
     595                                ./objects/Bamg/SetOfE4.cpp\
     596                                ./objects/Bamg/SetOfE4.h\
     597                                ./objects/Bamg/SubDomain.h\
     598                                ./objects/Bamg/SubDomain.cpp\
     599                                ./objects/Bamg/AdjacentTriangle.h\
     600                                ./objects/Bamg/AdjacentTriangle.cpp\
     601                                ./objects/Bamg/Triangle.cpp\
     602                                ./objects/Bamg/Triangle.h\
     603                                ./objects/Bamg/BamgVertex.cpp\
     604                                ./objects/Bamg/BamgVertex.h\
     605                                ./objects/Bamg/VertexOnEdge.h\
     606                                ./objects/Bamg/VertexOnEdge.cpp\
     607                                ./objects/Bamg/VertexOnGeom.h\
     608                                ./objects/Bamg/VertexOnGeom.cpp\
     609                                ./objects/Bamg/VertexOnVertex.h\
     610                                ./objects/Bamg/VertexOnVertex.cpp\
     611                                ./objects/Bamg/Mesh.cpp\
     612                                ./objects/Bamg/Mesh.h\
     613                                ./shared/Bamg/Abs.h \
     614                                ./shared/Bamg/BigPrimeNumber.h\
     615                                ./shared/Bamg/BigPrimeNumber.cpp\
     616                                ./shared/Bamg/BinaryRand.h \
     617                                ./shared/Bamg/det.h \
     618                                ./shared/Bamg/Exchange.h \
     619                                ./shared/Bamg/extrema.h \
     620                                ./shared/Bamg/HeapSort.h \
     621                                ./shared/Bamg/OppositeAngle.h \
     622                                ./modules/Bamgx/Bamgx.cpp\
     623                                ./modules/Bamgx/Bamgx.h\
     624                                ./modules/BamgConvertMeshx/BamgConvertMeshx.cpp\
     625                                ./modules/BamgConvertMeshx/BamgConvertMeshx.h\
     626                                ./modules/BamgTriangulatex/BamgTriangulatex.cpp\
     627                                ./modules/BamgTriangulatex/BamgTriangulatex.h
     628#}}}
     629#Kml sources  {{{1
     630kml_sources = ./modules/Exp2Kmlx/Exp2Kmlx.h\
     631                          ./modules/Exp2Kmlx/Exp2Kmlx.cpp\
     632                          ./modules/Kml2Expx/Kml2Expx.h\
     633                          ./modules/Kml2Expx/Kml2Expx.cpp\
     634                          ./modules/Shp2Kmlx/Shp2Kmlx.h\
     635                          ./modules/Shp2Kmlx/Shp2Kmlx.cpp\
     636                          ./objects/KML/KML_Attribute.cpp\
     637                          ./objects/KML/KML_Attribute.h\
     638                          ./objects/KML/KML_ColorStyle.cpp\
     639                          ./objects/KML/KML_ColorStyle.h\
     640                          ./objects/KML/KML_Container.cpp\
     641                          ./objects/KML/KML_Container.h\
     642                          ./objects/KML/KML_Document.cpp\
     643                          ./objects/KML/KML_Document.h\
     644                          ./objects/KML/KML_Feature.cpp\
     645                          ./objects/KML/KML_Feature.h\
     646                          ./objects/KML/KML_File.cpp\
     647                          ./objects/KML/KML_File.h\
     648                          ./objects/KML/KML_Folder.cpp\
     649                          ./objects/KML/KML_Folder.h\
     650                          ./objects/KML/KML_Geometry.cpp\
     651                          ./objects/KML/KML_Geometry.h\
     652                          ./objects/KML/KML_GroundOverlay.cpp\
     653                          ./objects/KML/KML_GroundOverlay.h\
     654                          ./objects/KML/KML_Icon.cpp\
     655                          ./objects/KML/KML_Icon.h\
     656                          ./objects/KML/KML_LatLonBox.cpp\
     657                          ./objects/KML/KML_LatLonBox.h\
     658                          ./objects/KML/KML_LinearRing.cpp\
     659                          ./objects/KML/KML_LinearRing.h\
     660                          ./objects/KML/KML_LineString.cpp\
     661                          ./objects/KML/KML_LineString.h\
     662                          ./objects/KML/KML_LineStyle.cpp\
     663                          ./objects/KML/KML_LineStyle.h\
     664                          ./objects/KML/KML_MultiGeometry.cpp\
     665                          ./objects/KML/KML_MultiGeometry.h\
     666                          ./objects/KML/KML_Object.cpp\
     667                          ./objects/KML/KML_Object.h\
     668                          ./objects/KML/KML_Overlay.cpp\
     669                          ./objects/KML/KML_Overlay.h\
     670                          ./objects/KML/KML_Point.cpp\
     671                          ./objects/KML/KML_Point.h\
     672                          ./objects/KML/KML_Placemark.cpp\
     673                          ./objects/KML/KML_Placemark.h\
     674                          ./objects/KML/KML_Polygon.cpp\
     675                          ./objects/KML/KML_Polygon.h\
     676                          ./objects/KML/KML_PolyStyle.cpp\
     677                          ./objects/KML/KML_PolyStyle.h\
     678                          ./objects/KML/KML_Style.cpp\
     679                          ./objects/KML/KML_Style.h\
     680                          ./objects/KML/KML_StyleSelector.cpp\
     681                          ./objects/KML/KML_StyleSelector.h\
     682                          ./objects/KML/KML_SubStyle.cpp\
     683                          ./objects/KML/KML_SubStyle.h\
     684                          ./objects/KML/KMLFileReadUtils.cpp\
     685                          ./objects/KML/KMLFileReadUtils.h
     686#}}}
     687#Matlab sources  {{{1
     688matlab_sources= ./shared/Matlab/matlabshared.h\
     689                                ./shared/Matlab/ModuleBoot.cpp\
     690                                ./shared/Matlab/ModuleEnd.cpp\
     691                                ./shared/Matlab/mxGetAssignedField.cpp\
     692                                ./shared/Matlab/mxGetField.cpp\
     693                                ./shared/Matlab/CheckNumMatlabArguments.cpp\
     694                                ./toolkits/matlab/matlabincludes.h\
     695                                ./toolkits/matlab/MatlabNArrayToNArray.cpp\
     696                                ./io/Matlab/matlabio.h\
     697                                ./io/Matlab/WriteMatlabData.cpp\
     698                                ./io/Matlab/FetchMatlabData.cpp\
     699                                ./io/Matlab/OptionParse.cpp
     700#}}}
     701#Serialsources  {{{1
     702serial_sources= ./objects/Options/Option.cpp\
     703                        ./objects/Options/Option.h\
     704                        ./objects/Options/OptionDouble.cpp\
     705                        ./objects/Options/OptionDouble.h\
     706                        ./objects/Options/OptionLogical.cpp\
     707                        ./objects/Options/OptionLogical.h\
     708                        ./objects/Options/OptionChar.cpp\
     709                        ./objects/Options/OptionChar.h\
     710                        ./objects/Options/OptionStruct.cpp\
     711                        ./objects/Options/OptionStruct.h\
     712                        ./objects/Options/OptionCell.cpp\
     713                        ./objects/Options/OptionCell.h\
     714                        ./objects/Options/OptionUtilities.cpp\
     715                        ./objects/Options/OptionUtilities.h\
     716                        ./shared/Threads/issm_threads.h\
     717                        ./shared/Threads/LaunchThread.cpp\
     718                        ./shared/Threads/PartitionRange.cpp\
     719                        ./shared/Numerics/isnan.h\
     720                        ./shared/Numerics/isnan.cpp\
     721                        ./shared/Exp/exp.h\
     722                        ./shared/Exp/IsInPoly.cpp\
     723                        ./shared/Exp/IsInPolySerial.cpp\
     724                        ./shared/Exp/DomainOutlineRead.cpp\
     725                        ./shared/Exp/DomainOutlineWrite.cpp\
     726                        ./shared/TriMesh/trimesh.h\
     727                        ./shared/TriMesh/AssociateSegmentToElement.cpp\
     728                        ./shared/TriMesh/GridInsideHole.cpp\
     729                        ./shared/TriMesh/OrderSegments.cpp\
     730                        ./shared/TriMesh/SplitMeshForRifts.cpp\
     731                        ./shared/TriMesh/TriMeshUtils.cpp\
     732                        ./modules/AddExternalResultx/AddExternalResultx.h\
     733                        ./modules/AddExternalResultx/AddExternalResultx.cpp\
     734                        ./modules/Chacox/Chacox.h\
     735                        ./modules/Chacox/Chacox.cpp\
     736                        ./modules/Chacox/input_parse.cpp\
     737                        ./modules/Chacox/chaco_seconds.cpp\
     738                        ./modules/Chacox/user_params.cpp\
     739                        ./modules/TriaSearchx/TriaSearchx.h\
     740                        ./modules/TriaSearchx/TriaSearchx.cpp\
     741                        ./modules/PointCloudFindNeighborsx/PointCloudFindNeighborsx.h\
     742                        ./modules/PointCloudFindNeighborsx/PointCloudFindNeighborsx.cpp\
     743                        ./modules/PointCloudFindNeighborsx/PointCloudFindNeighborsxt.cpp\
     744                        ./modules/Xy2llx/Xy2llx.h\
     745                        ./modules/Xy2llx/Xy2llx.cpp\
     746                        ./modules/Ll2xyx/Ll2xyx.h\
     747                        ./modules/Ll2xyx/Ll2xyx.cpp\
     748                        ./modules/InterpFromGridToMeshx/InterpFromGridToMeshx.cpp\
     749                        ./modules/InterpFromGridToMeshx/InterpFromGridToMeshx.h\
     750                        ./modules/InterpFromMesh2dx/InterpFromMesh2dx.cpp\
     751                        ./modules/InterpFromMesh2dx/InterpFromMesh2dxt.cpp\
     752                        ./modules/InterpFromMesh2dx/InterpFromMesh2dx.h\
     753                        ./modules/InterpFromMeshToMesh2dx/InterpFromMeshToMesh2dx.cpp\
     754                        ./modules/InterpFromMeshToMesh2dx/InterpFromMeshToMesh2dx.h\
     755                        ./modules/InterpFromMeshToMesh3dx/InterpFromMeshToMesh3dx.cpp\
     756                        ./modules/InterpFromMeshToMesh3dx/InterpFromMeshToMesh3dx.h\
     757                        ./modules/InterpFromMeshToGridx/InterpFromMeshToGridx.cpp\
     758                        ./modules/InterpFromMeshToGridx/InterpFromMeshToGridx.h\
     759                        ./modules/HoleFillerx/HoleFillerx.cpp\
     760                        ./modules/HoleFillerx/HoleFillerx.h\
     761                        ./modules/AverageFilterx/AverageFilterx.cpp\
     762                        ./modules/AverageFilterx/AverageFilterx.h\
     763                        ./modules/MeshProfileIntersectionx/MeshProfileIntersectionx.cpp\
     764                        ./modules/MeshProfileIntersectionx/MeshProfileIntersectionx.h\
     765                        ./modules/MeshProfileIntersectionx/MeshSegmentsIntersection.cpp\
     766                        ./modules/MeshProfileIntersectionx/ElementSegmentsIntersection.cpp\
     767                        ./modules/MeshProfileIntersectionx/ElementSegment.cpp\
     768                        ./modules/MeshProfileIntersectionx/SegmentIntersect.cpp\
     769                        ./modules/MeshProfileIntersectionx/NodeInElement.cpp\
     770                        ./modules/ContourToMeshx/ContourToMeshx.cpp\
     771                        ./modules/ContourToMeshx/ContourToMeshxt.cpp\
     772                        ./modules/ContourToMeshx/ContourToMeshx.h\
     773                        ./modules/ContourToNodesx/ContourToNodesx.cpp\
     774                        ./modules/ContourToNodesx/ContourToNodesx.h\
     775                        ./modules/Reducevectorgtosx/Reducevectorgtosx.cpp\
     776                        ./modules/Reducevectorgtosx/Reducevectorgtosx.h\
     777                        ./modules/NodeConnectivityx/NodeConnectivityx.cpp\
     778                        ./modules/NodeConnectivityx/NodeConnectivityx.h\
     779                        ./modules/ElementConnectivityx/ElementConnectivityx.cpp\
     780                        ./modules/ElementConnectivityx/ElementConnectivityx.h\
     781                        ./modules/Scotchx/Scotchx.cpp\
     782                        ./modules/Scotchx/Scotchx.h\
     783                        ./modules/PropagateFlagsFromConnectivityx/PropagateFlagsFromConnectivityx.cpp\
     784                        ./modules/PropagateFlagsFromConnectivityx/PropagateFlagsFromConnectivityx.h
     785#}}}
     786
     787#ISSM sources are a combination of core sources and sources related to specific capabilities (which can
     788#be activated by autotools conditionals {{{1
     789
     790#First the core
     791issm_sources  =  $(core_sources)
     792issm_psources  = 
     793
     794#Now the optional source
     795if DAKOTA
     796issm_sources +=  $(dakota_sources)
     797endif
     798
     799if TRANSIENT
     800issm_sources +=  $(transient_sources)
     801issm_psources +=  $(transient_psources)
     802endif
     803
     804if STEADYSTATE
     805issm_sources +=  $(steadystate_sources)
     806issm_psources +=  $(steadystate_psources)
     807endif
     808
     809if PROGNOSTIC
     810issm_sources +=  $(prognostic_sources)
     811issm_psources +=  $(prognostic_psources)
     812endif
     813
     814if THERMAL
     815issm_sources +=  $(thermal_sources)
     816issm_psources +=  $(thermal_psources)
     817endif
     818
     819if CONTROL
     820issm_sources +=  $(control_sources)
     821issm_psources +=  $(control_psources)
     822endif
     823
     824if HYDROLOGY
     825issm_sources +=  $(hydrology_sources)
     826issm_psources +=  $(hydrology_psources)
     827endif
     828
     829if DIAGNOSTIC
     830issm_sources +=  $(diagnostic_sources)
     831issm_psources +=  $(diagnostic_psources)
     832endif
     833
     834if BALANCED
     835issm_sources +=  $(balanced_sources)
     836issm_psources +=  $(balanced_psources)
     837endif
     838
     839if RESPONSES
     840issm_sources +=  $(responses_sources)
     841endif
     842
     843if SLOPE
     844issm_sources +=  $(slope_sources)
     845issm_psources +=  $(slope_psources)
     846endif
     847
    1277848if GROUNDINGLINE
    1278 libpISSM_a_SOURCES += ./modules/GroundingLineMigrationx/GroundingLineMigrationx.cpp\
    1279                                           ./modules/GroundingLineMigrationx/GroundingLineMigrationx.h\
    1280                                           ./modules/GroundingLineMigrationx/GroundingLineMigrationxLocal.h\
    1281                                           ./modules/GroundingLineMigrationx/GroundingLineMigrationxUtils.cpp\
    1282                                           ./solutions/groundinglinemigration2d_core.cpp
    1283 endif
    1284 #}}}
    1285 #Rifts sources  {{{1
     849issm_sources +=  $(groundingline_sources)
     850issm_psources +=  $(groundingline_psources)
     851endif
     852
    1286853if RIFTS
    1287 libpISSM_a_SOURCES += ./objects/Loads/Riftfront.cpp\
    1288                                           ./objects/Loads/Riftfront.h\
    1289                                           ./modules/ConstraintsStatex/RiftConstraintsState.cpp
    1290 endif
    1291 #}}}
    1292 #3D sources  {{{1
     854issm_sources +=  $(rifts_sources)
     855endif
     856
    1293857if THREED
    1294 libpISSM_a_SOURCES += ./objects/Gauss/GaussPenta.h\
    1295                                           ./objects/Gauss/GaussPenta.cpp\
    1296                                           ./objects/ElementResults/PentaVertexElementResult.h\
    1297                                           ./objects/ElementResults/PentaVertexElementResult.cpp\
    1298                                           ./objects/Inputs/PentaVertexInput.h\
    1299                                           ./objects/Inputs/PentaVertexInput.cpp\
    1300                                           ./objects/Elements/Penta.h\
    1301                                           ./objects/Elements/Penta.cpp\
    1302                                           ./objects/Elements/PentaHook.h\
    1303                                           ./objects/Elements/PentaHook.cpp\
    1304                                           ./objects/Elements/PentaRef.h\
    1305                                           ./objects/Elements/PentaRef.cpp
    1306 endif
     858issm_sources +=  $(threed_sources)
     859endif
     860
     861#}}}
     862
     863#ISSM serial library {{{1
     864libISSM_a_SOURCES = $(issm_sources)
     865libISSM_a_SOURCES += $(serial_sources)
     866libISSM_a_SOURCES += $(bamg_sources)
     867libISSM_a_SOURCES += $(kml_sources)
     868libISSM_a_SOURCES += $(matlab_sources)
     869
     870libISSM_a_CXXFLAGS = -fPIC -DMATLAB -D_SERIAL_ -ansi -D_GNU_SOURCE -fno-omit-frame-pointer -pthread -D_CPP_  $(CXXOPTFLAGS)
     871if LARGEARRAYS
     872libISSM_a_CXXFLAGS += -D__GCC4BUILD__ 
     873else
     874libISSM_a_CXXFLAGS += -DMX_COMPAT_32
     875endif
     876
     877#}}}
     878#ISSM parallel library {{{1
     879libpISSM_a_SOURCES = $(issm_sources)
     880libpISSM_a_SOURCES += $(issm_psources)
     881libpISSM_a_CXXFLAGS = -fPIC -D_PARALLEL_   -D_C_ $(CXXOPTFLAGS)
     882#}}}
     883#Overload library, to overload any non-standard symbols. {{{1
     884libOverload_a_SOURCES = ./shared/String/stricmp.c
     885libOverload_a_CFLAGS = -fPIC -D_PARALLEL_   -D_C_ $(COPTFLAGS)
    1307886#}}}
    1308887
     
    1326905
    1327906#}}}
    1328 
Note: See TracChangeset for help on using the changeset viewer.