Changeset 111


Ignore:
Timestamp:
04/28/09 15:48:05 (16 years ago)
Author:
Eric.Larour
Message:

Took out viscosity overshoot from Matpar. Reactivated viscosity overshoot in tria, which had been wiped off

Location:
issm/trunk/src/c
Files:
6 edited

Legend:

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

    r46 r111  
    7171                                        ./shared/Numerics/numerics.h\
    7272                                        ./shared/Numerics/GaussPoints.h\
    73                                         ./shared/Numerics/GaussPoints.cpp\
    74                                         ./shared/Numerics/BrentSearch.cpp\
    75                                         ./shared/Numerics/OptFunc.cpp\
    76                                         ./shared/Numerics/extrema.cpp\
    77                                         ./shared/Exceptions/exceptions.h\
    78                                         ./shared/Exceptions/Exceptions.cpp\
    79                                         ./shared/Exceptions/exprintf.cpp\
    80                                         ./shared/Exp/exp.h\
    81                                         ./shared/Exp/IsInPoly.cpp\
    82                                         ./shared/Exp/IsInPolySerial.cpp\
    83                                         ./shared/Exp/DomainOutlineRead.cpp\
    84                                         ./shared/TriMesh/trimesh.h\
    85                                         ./shared/TriMesh/AssociateSegmentToElement.cpp\
    86                                         ./shared/TriMesh/GridInsideHole.cpp\
    87                                         ./shared/TriMesh/OrderSegments.cpp\
    88                                         ./shared/TriMesh/SplitMeshForRifts.cpp\
    89                                         ./shared/TriMesh/TriMeshUtils.cpp\
    90                                         ./shared/Sorting/binary_search.cpp\
    91                                         ./shared/Sorting/sorting.h\
    92                                         ./shared/Elements/elements.h\
    93                                         ./shared/Elements/ResolvePointers.cpp\
    94                                         ./shared/Elements/Paterson.cpp\
    95                                         ./shared/Elements/GetElementNodeData.cpp\
    96                                         ./toolkits/petsc\
    97                                         ./toolkits/petsc/patches\
    98                                         ./toolkits/petsc/patches/petscpatches.h\
    99                                         ./toolkits/petsc/patches/MatlabMatrixToPetscMatrix.cpp\
    100                                         ./toolkits/petsc/patches/MatlabVectorToPetscVector.cpp\
    101                                         ./toolkits/petsc/patches/PetscMatrixToMatlabMatrix.cpp\
    102                                         ./toolkits/petsc/patches/PetscVectorToMatlabVector.cpp\
    103                                         ./toolkits/petsc/patches/MatlabMatrixToDoubleMatrix.cpp\
    104                                         ./toolkits/petsc/patches/MatlabVectorToDoubleVector.cpp\
    105                                         ./toolkits/petsc/patches/PetscDetermineLocalSize.cpp\
    106                                         ./toolkits/petsc/patches/VecTranspose.cpp\
    107                                         ./toolkits/petsc/patches/VecToMPISerial.cpp\
    108                                         ./toolkits/petsc/patches/MatToSerial.cpp\
    109                                         ./toolkits/petsc/patches/VecMerge.cpp\
    110                                         ./toolkits/petsc/patches/NewVec.cpp\
    111                                         ./toolkits/petsc/patches/NewVecFromLocalSize.cpp\
    112                                         ./toolkits/petsc/patches/PetscOptionsDetermineSolverType.cpp\
    113                                         ./toolkits/petsc/patches/PetscOptionsInsertMultipleString.cpp\
    114                                         ./toolkits/petsc/patches/NewMat.cpp\
    115                                         ./toolkits/petsc/patches/VecFree.cpp\
    116                                         ./toolkits/petsc/patches/KSPFree.cpp\
    117                                         ./toolkits/petsc/patches/ISFree.cpp\
    118                                         ./toolkits/petsc/patches/MatFree.cpp\
    119                                         ./toolkits/petsc/patches/GetOwnershipBoundariesFromRange.cpp\
    120                                         ./toolkits/petsc/patches/VecPartition.cpp\
    121                                         ./toolkits/petsc/patches/MatPartition.cpp\
    122                                         ./toolkits/petsc/patches/MatInvert.cpp\
    123                                         ./toolkits/petsc/patches/MatMultPatch.cpp\
    124                                         ./toolkits/petsc/petscincludes.h\
    125                                         ./toolkits/mpi/mpiincludes.h\
    126                                         ./toolkits/mpi/patches/mpipatches.h\
    127                                         ./toolkits/mpi/patches/MPI_Upperrow.cpp\
    128                                         ./toolkits/mpi/patches/MPI_Lowerrow.cpp\
    129                                         ./toolkits/mpi/patches/MPI_Boundariesfromrange.cpp\
    130                                         ./toolkits/metis/metisincludes.h\
    131                                         ./toolkits/triangle/triangleincludes.h\
    132                                         ./toolkits.h\
    133                                         ./io/io.h\
    134                                         ./io/FetchData.cpp\
    135                                         ./io/WriteData.cpp\
    136                                         ./io/WriteDataToDisk.cpp\
    137                                         ./io/SerialFetchData.cpp\
    138                                         ./io/SerialWriteData.cpp\
    139                                         ./io/ParallelFetchData.cpp\
    140                                         ./io/ParallelFetchInteger.cpp\
    141                                         ./io/ParallelFetchMat.cpp\
    142                                         ./io/ParallelFetchScalar.cpp\
    143                                         ./io/ParallelFetchString.cpp\
    144                                         ./io/ModelFetchData.cpp\
    145                                         ./io/WriteNodeSets.cpp\
    146                                         ./io/WriteParams.cpp\
    147                                         ./io/FetchNodeSets.cpp\
    148                                         ./io/ParameterInputsInit.cpp\
    149                                         ./EnumDefinitions/EnumDefinitions.h\
    150                                         ./EnumDefinitions/EnumDefinitions.cpp\
    151                                         ./EnumDefinitions/AnalysisTypeAsEnum.cpp\
    152                                         ./ModelProcessorx/ModelProcessorx.h\
    153                                         ./ModelProcessorx/Model.cpp\
    154                                         ./ModelProcessorx/FetchRifts.cpp\
    155                                         ./ModelProcessorx/CreateElementsNodesAndMaterialsDiagnosticHoriz.cpp\
    156                                         ./ModelProcessorx/DistributeNumDofs.cpp\
    157                                         ./ModelProcessorx/CreateConstraintsDiagnosticHoriz.cpp \
    158                                         ./ModelProcessorx/CreateLoadsDiagnosticHoriz.cpp\
    159                                         ./ModelProcessorx/ModelCreateParameters.cpp\
    160                                         ./Dofx/Dofx.h\
    161                                         ./Dofx/Dofx.cpp\
    162                                         ./Dux/Dux.h\
    163                                         ./Dux/Dux.cpp\
    164                                         ./ControlConstrainx/ControlConstrainx.h\
    165                                         ./ControlConstrainx/ControlConstrainx.cpp\
    166                                         ./Misfitx/Misfitx.h\
    167                                         ./Misfitx/Misfitx.cpp\
    168                                         ./Orthx/Orthx.h\
    169                                         ./Orthx/Orthx.cpp\
    170                                         ./Gradjx/Gradjx.h\
    171                                         ./Gradjx/Gradjx.cpp\
    172                                         ./UpdateFromInputsx/UpdateFromInputsx.h\
    173                                         ./UpdateFromInputsx/UpdateFromInputsx.cpp\
    174                                         ./ConfigureObjectsx/ConfigureObjectsx.h\
    175                                         ./ConfigureObjectsx/ConfigureObjectsx.cpp\
    176                                         ./BuildNodeSetsx/BuildNodeSetsx.h\
    177                                         ./BuildNodeSetsx/BuildNodeSetsx.cpp\
    178                                         ./BuildNodeSetsx/PartitionSets.cpp\
    179                                         ./SpcNodesx/SpcNodesx.h\
    180                                         ./SpcNodesx/SpcNodesx.cpp\
    181                                         ./MpcNodesx/MpcNodesx.h\
    182                                         ./MpcNodesx/MpcNodesx.cpp\
    183                                         ./DataInterpx/DataInterpx.cpp\
    184                                         ./DataInterpx/DataInterpx.h\
    185                                         ./HoleFillerx/HoleFillerx.cpp\
    186                                         ./HoleFillerx/HoleFillerx.h\
    187                                         ./MeshPartitionx/MeshPartitionx.cpp\
    188                                         ./MeshPartitionx/MeshPartitionx.h\
    189                                         ./ContourToMeshx/ContourToMeshx.cpp\
    190                                         ./ContourToMeshx/ContourToMeshx.h\
    191                                         ./Reducevectorgtosx/Reducevectorgtosx.cpp\
    192                                         ./Reducevectorgtosx/Reducevectorgtosx.h\
    193                                         ./Reducematrixfromgtofx/Reducematrixfromgtofx.cpp\
    194                                         ./Reducematrixfromgtofx/Reducematrixfromgton.cpp\
    195                                         ./Reducematrixfromgtofx/Reducematrixfromgtofx.h\
    196                                         ./Reduceloadfromgtofx/Reduceloadfromgtofx.h\
    197                                         ./Reduceloadfromgtofx/Reduceloadfromgtofx.cpp\
    198                                         ./NormalizeConstraintsx/NormalizeConstraintsx.cpp\
    199                                         ./NormalizeConstraintsx/NormalizeConstraintsx.h\
    200                                         ./SystemMatricesx/SystemMatricesx.cpp\
    201                                         ./SystemMatricesx/SystemMatricesx.h\
    202                                         ./PenaltyConstraintsx/PenaltyConstraintsx.cpp\
    203                                         ./PenaltyConstraintsx/PenaltyConstraintsx.h\
    204                                         ./PenaltySystemMatricesx/PenaltySystemMatricesx.cpp\
    205                                         ./PenaltySystemMatricesx/PenaltySystemMatricesx.h\
    206                                         ./Solverx/Solverx.cpp\
    207                                         ./Solverx/Solverx.h\
    208                                         ./Mergesolutionfromftogx/Mergesolutionfromftogx.cpp\
    209                                         ./Mergesolutionfromftogx/Mergesolutionfromftogx.h\
    210                                         ./ProcessParamsx/ProcessParamsx.cpp\
    211                                         ./ProcessParamsx/ProcessParamsx.h
    212 
    213 
    214 libISSM_a_CXXFLAGS = -fPIC -DMATLAB -D_SERIAL_ -ansi -D_GNU_SOURCE -fno-omit-frame-pointer -pthread -D_CPP_
    215 if LARGEARRAYS
    216 libISSM_a_CXXFLAGS += -D__GCC4BUILD__ 
    217 else
    218 libISSM_a_CXXFLAGS += -DMX_COMPAT_32
    219 endif
    220 
    221 
    222 
    223 
    224 #Parallel compilation
    225 libpISSM_a_SOURCES = ./objects/objects.h\
    226                                         ./objects/Object.h\
    227                                         ./objects/Element.h\
    228                                         ./objects/Element.cpp\
    229                                         ./objects/Material.h\
    230                                         ./objects/Material.cpp\
    231                                         ./objects/Load.h\
    232                                         ./objects/Load.cpp\
    233                                         ./objects/SolverEnum.h\
    234                                         ./objects/Contour.h\
    235                                         ./objects/Contour.cpp\
    236                                         ./objects/OptArgs.h\
    237                                         ./objects/OptPars.h\
    238                                         ./objects/Friction.h\
    239                                         ./objects/Friction.cpp\
    240                                         ./objects/Node.h\
    241                                         ./objects/Node.cpp\
    242                                         ./objects/Tria.h\
    243                                         ./objects/Tria.cpp\
    244                                         ./objects/Penta.h\
    245                                         ./objects/Penta.cpp\
    246                                         ./objects/Matice.h\
    247                                         ./objects/Matice.cpp\
    248                                         ./objects/Matpar.h\
    249                                         ./objects/Matpar.cpp\
    250                                         ./objects/ParameterInputs.h\
    251                                         ./objects/ParameterInputs.cpp\
    252                                         ./objects/Spc.cpp\
    253                                         ./objects/Spc.h\
    254                                         ./objects/Rgb.cpp\
    255                                         ./objects/Rgb.h\
    256                                         ./objects/Penpair.cpp\
    257                                         ./objects/Penpair.h\
    258                                         ./objects/Icefront.cpp\
    259                                         ./objects/Icefront.h\
    260                                         ./objects/Param.cpp\
    261                                         ./objects/Param.h\
    262                                         ./objects/NodeSets.cpp\
    263                                         ./objects/NodeSets.h\
    264                                         ./DataSet/DataSet.cpp\
    265                                         ./DataSet/DataSet.h\
    266                                         ./shared/shared.h\
    267                                         ./shared/Alloc/alloc.h\
    268                                         ./shared/Alloc/alloc.cpp\
    269                                         ./shared/Matlab/matlabshared.h\
    270                                         ./shared/Matlab/PrintfFunction.cpp\
    271                                         ./shared/Matlab/ModuleBoot.cpp\
    272                                         ./shared/Matlab/mxGetAssignedField.cpp\
    273                                         ./shared/Matlab/mxGetField.cpp\
    274                                         ./shared/Matlab/CheckNumMatlabArguments.cpp\
    275                                         ./shared/Matrix/matrix.h\
    276                                         ./shared/Matrix/MatrixUtils.cpp\
    277                                         ./shared/Numerics/numerics.h\
    278                                         ./shared/Numerics/GaussPoints.h\
     73                                        ./shared/Numerics/cross.cpp\
     74                                        ./shared/Numerics/norm.cpp\
    27975                                        ./shared/Numerics/GaussPoints.cpp\
    28076                                        ./shared/Numerics/BrentSearch.cpp\
     
    416212                                        ./ProcessParamsx/ProcessParamsx.cpp\
    417213                                        ./ProcessParamsx/ProcessParamsx.h\
     214                                        ./VelocityExtrudex/VelocityExtrudex.cpp\
     215                                        ./VelocityExtrudex/VelocityExtrudex.h
     216
     217
     218
     219libISSM_a_CXXFLAGS = -fPIC -DMATLAB -D_SERIAL_ -ansi -D_GNU_SOURCE -fno-omit-frame-pointer -pthread -D_CPP_
     220if LARGEARRAYS
     221libISSM_a_CXXFLAGS += -D__GCC4BUILD__ 
     222else
     223libISSM_a_CXXFLAGS += -DMX_COMPAT_32
     224endif
     225
     226
     227
     228
     229#Parallel compilation
     230libpISSM_a_SOURCES = ./objects/objects.h\
     231                                        ./objects/Object.h\
     232                                        ./objects/Element.h\
     233                                        ./objects/Element.cpp\
     234                                        ./objects/Material.h\
     235                                        ./objects/Material.cpp\
     236                                        ./objects/Load.h\
     237                                        ./objects/Load.cpp\
     238                                        ./objects/SolverEnum.h\
     239                                        ./objects/Contour.h\
     240                                        ./objects/Contour.cpp\
     241                                        ./objects/OptArgs.h\
     242                                        ./objects/OptPars.h\
     243                                        ./objects/Friction.h\
     244                                        ./objects/Friction.cpp\
     245                                        ./objects/Node.h\
     246                                        ./objects/Node.cpp\
     247                                        ./objects/Tria.h\
     248                                        ./objects/Tria.cpp\
     249                                        ./objects/Penta.h\
     250                                        ./objects/Penta.cpp\
     251                                        ./objects/Matice.h\
     252                                        ./objects/Matice.cpp\
     253                                        ./objects/Matpar.h\
     254                                        ./objects/Matpar.cpp\
     255                                        ./objects/ParameterInputs.h\
     256                                        ./objects/ParameterInputs.cpp\
     257                                        ./objects/Spc.cpp\
     258                                        ./objects/Spc.h\
     259                                        ./objects/Rgb.cpp\
     260                                        ./objects/Rgb.h\
     261                                        ./objects/Penpair.cpp\
     262                                        ./objects/Penpair.h\
     263                                        ./objects/Icefront.cpp\
     264                                        ./objects/Icefront.h\
     265                                        ./objects/Param.cpp\
     266                                        ./objects/Param.h\
     267                                        ./objects/NodeSets.cpp\
     268                                        ./objects/NodeSets.h\
     269                                        ./DataSet/DataSet.cpp\
     270                                        ./DataSet/DataSet.h\
     271                                        ./shared/shared.h\
     272                                        ./shared/Alloc/alloc.h\
     273                                        ./shared/Alloc/alloc.cpp\
     274                                        ./shared/Matlab/matlabshared.h\
     275                                        ./shared/Matlab/PrintfFunction.cpp\
     276                                        ./shared/Matlab/ModuleBoot.cpp\
     277                                        ./shared/Matlab/mxGetAssignedField.cpp\
     278                                        ./shared/Matlab/mxGetField.cpp\
     279                                        ./shared/Matlab/CheckNumMatlabArguments.cpp\
     280                                        ./shared/Matrix/matrix.h\
     281                                        ./shared/Matrix/MatrixUtils.cpp\
     282                                        ./shared/Numerics/numerics.h\
     283                                        ./shared/Numerics/GaussPoints.h\
     284                                        ./shared/Numerics/GaussPoints.cpp\
     285                                        ./shared/Numerics/cross.cpp\
     286                                        ./shared/Numerics/norm.cpp\
     287                                        ./shared/Numerics/BrentSearch.cpp\
     288                                        ./shared/Numerics/OptFunc.cpp\
     289                                        ./shared/Numerics/extrema.cpp\
     290                                        ./shared/Exceptions/exceptions.h\
     291                                        ./shared/Exceptions/Exceptions.cpp\
     292                                        ./shared/Exceptions/exprintf.cpp\
     293                                        ./shared/Exp/exp.h\
     294                                        ./shared/Exp/IsInPoly.cpp\
     295                                        ./shared/Exp/IsInPolySerial.cpp\
     296                                        ./shared/Exp/DomainOutlineRead.cpp\
     297                                        ./shared/TriMesh/trimesh.h\
     298                                        ./shared/TriMesh/AssociateSegmentToElement.cpp\
     299                                        ./shared/TriMesh/GridInsideHole.cpp\
     300                                        ./shared/TriMesh/OrderSegments.cpp\
     301                                        ./shared/TriMesh/SplitMeshForRifts.cpp\
     302                                        ./shared/TriMesh/TriMeshUtils.cpp\
     303                                        ./shared/Sorting/binary_search.cpp\
     304                                        ./shared/Sorting/sorting.h\
     305                                        ./shared/Elements/elements.h\
     306                                        ./shared/Elements/ResolvePointers.cpp\
     307                                        ./shared/Elements/Paterson.cpp\
     308                                        ./shared/Elements/GetElementNodeData.cpp\
     309                                        ./toolkits/petsc\
     310                                        ./toolkits/petsc/patches\
     311                                        ./toolkits/petsc/patches/petscpatches.h\
     312                                        ./toolkits/petsc/patches/MatlabMatrixToPetscMatrix.cpp\
     313                                        ./toolkits/petsc/patches/MatlabVectorToPetscVector.cpp\
     314                                        ./toolkits/petsc/patches/PetscMatrixToMatlabMatrix.cpp\
     315                                        ./toolkits/petsc/patches/PetscVectorToMatlabVector.cpp\
     316                                        ./toolkits/petsc/patches/MatlabMatrixToDoubleMatrix.cpp\
     317                                        ./toolkits/petsc/patches/MatlabVectorToDoubleVector.cpp\
     318                                        ./toolkits/petsc/patches/PetscDetermineLocalSize.cpp\
     319                                        ./toolkits/petsc/patches/VecTranspose.cpp\
     320                                        ./toolkits/petsc/patches/VecToMPISerial.cpp\
     321                                        ./toolkits/petsc/patches/MatToSerial.cpp\
     322                                        ./toolkits/petsc/patches/VecMerge.cpp\
     323                                        ./toolkits/petsc/patches/NewVec.cpp\
     324                                        ./toolkits/petsc/patches/NewVecFromLocalSize.cpp\
     325                                        ./toolkits/petsc/patches/PetscOptionsDetermineSolverType.cpp\
     326                                        ./toolkits/petsc/patches/PetscOptionsInsertMultipleString.cpp\
     327                                        ./toolkits/petsc/patches/NewMat.cpp\
     328                                        ./toolkits/petsc/patches/VecFree.cpp\
     329                                        ./toolkits/petsc/patches/KSPFree.cpp\
     330                                        ./toolkits/petsc/patches/ISFree.cpp\
     331                                        ./toolkits/petsc/patches/MatFree.cpp\
     332                                        ./toolkits/petsc/patches/GetOwnershipBoundariesFromRange.cpp\
     333                                        ./toolkits/petsc/patches/VecPartition.cpp\
     334                                        ./toolkits/petsc/patches/MatPartition.cpp\
     335                                        ./toolkits/petsc/patches/MatInvert.cpp\
     336                                        ./toolkits/petsc/patches/MatMultPatch.cpp\
     337                                        ./toolkits/petsc/petscincludes.h\
     338                                        ./toolkits/mpi/mpiincludes.h\
     339                                        ./toolkits/mpi/patches/mpipatches.h\
     340                                        ./toolkits/mpi/patches/MPI_Upperrow.cpp\
     341                                        ./toolkits/mpi/patches/MPI_Lowerrow.cpp\
     342                                        ./toolkits/mpi/patches/MPI_Boundariesfromrange.cpp\
     343                                        ./toolkits/metis/metisincludes.h\
     344                                        ./toolkits/triangle/triangleincludes.h\
     345                                        ./toolkits.h\
     346                                        ./io/io.h\
     347                                        ./io/FetchData.cpp\
     348                                        ./io/WriteData.cpp\
     349                                        ./io/WriteDataToDisk.cpp\
     350                                        ./io/SerialFetchData.cpp\
     351                                        ./io/SerialWriteData.cpp\
     352                                        ./io/ParallelFetchData.cpp\
     353                                        ./io/ParallelFetchInteger.cpp\
     354                                        ./io/ParallelFetchMat.cpp\
     355                                        ./io/ParallelFetchScalar.cpp\
     356                                        ./io/ParallelFetchString.cpp\
     357                                        ./io/ModelFetchData.cpp\
     358                                        ./io/WriteNodeSets.cpp\
     359                                        ./io/WriteParams.cpp\
     360                                        ./io/FetchNodeSets.cpp\
     361                                        ./io/ParameterInputsInit.cpp\
     362                                        ./EnumDefinitions/EnumDefinitions.h\
     363                                        ./EnumDefinitions/EnumDefinitions.cpp\
     364                                        ./EnumDefinitions/AnalysisTypeAsEnum.cpp\
     365                                        ./ModelProcessorx/ModelProcessorx.h\
     366                                        ./ModelProcessorx/Model.cpp\
     367                                        ./ModelProcessorx/FetchRifts.cpp\
     368                                        ./ModelProcessorx/CreateElementsNodesAndMaterialsDiagnosticHoriz.cpp\
     369                                        ./ModelProcessorx/DistributeNumDofs.cpp\
     370                                        ./ModelProcessorx/CreateConstraintsDiagnosticHoriz.cpp \
     371                                        ./ModelProcessorx/CreateLoadsDiagnosticHoriz.cpp\
     372                                        ./ModelProcessorx/ModelCreateParameters.cpp\
     373                                        ./Dofx/Dofx.h\
     374                                        ./Dofx/Dofx.cpp\
     375                                        ./Dux/Dux.h\
     376                                        ./Dux/Dux.cpp\
     377                                        ./ControlConstrainx/ControlConstrainx.h\
     378                                        ./ControlConstrainx/ControlConstrainx.cpp\
     379                                        ./Misfitx/Misfitx.h\
     380                                        ./Misfitx/Misfitx.cpp\
     381                                        ./Orthx/Orthx.h\
     382                                        ./Orthx/Orthx.cpp\
     383                                        ./Gradjx/Gradjx.h\
     384                                        ./Gradjx/Gradjx.cpp\
     385                                        ./UpdateFromInputsx/UpdateFromInputsx.h\
     386                                        ./UpdateFromInputsx/UpdateFromInputsx.cpp\
     387                                        ./ConfigureObjectsx/ConfigureObjectsx.h\
     388                                        ./ConfigureObjectsx/ConfigureObjectsx.cpp\
     389                                        ./BuildNodeSetsx/BuildNodeSetsx.h\
     390                                        ./BuildNodeSetsx/BuildNodeSetsx.cpp\
     391                                        ./BuildNodeSetsx/PartitionSets.cpp\
     392                                        ./SpcNodesx/SpcNodesx.h\
     393                                        ./SpcNodesx/SpcNodesx.cpp\
     394                                        ./MpcNodesx/MpcNodesx.h\
     395                                        ./MpcNodesx/MpcNodesx.cpp\
     396                                        ./DataInterpx/DataInterpx.cpp\
     397                                        ./DataInterpx/DataInterpx.h\
     398                                        ./HoleFillerx/HoleFillerx.cpp\
     399                                        ./HoleFillerx/HoleFillerx.h\
     400                                        ./MeshPartitionx/MeshPartitionx.cpp\
     401                                        ./MeshPartitionx/MeshPartitionx.h\
     402                                        ./ContourToMeshx/ContourToMeshx.cpp\
     403                                        ./ContourToMeshx/ContourToMeshx.h\
     404                                        ./Reducevectorgtosx/Reducevectorgtosx.cpp\
     405                                        ./Reducevectorgtosx/Reducevectorgtosx.h\
     406                                        ./Reducematrixfromgtofx/Reducematrixfromgtofx.cpp\
     407                                        ./Reducematrixfromgtofx/Reducematrixfromgton.cpp\
     408                                        ./Reducematrixfromgtofx/Reducematrixfromgtofx.h\
     409                                        ./Reduceloadfromgtofx/Reduceloadfromgtofx.h\
     410                                        ./Reduceloadfromgtofx/Reduceloadfromgtofx.cpp\
     411                                        ./NormalizeConstraintsx/NormalizeConstraintsx.cpp\
     412                                        ./NormalizeConstraintsx/NormalizeConstraintsx.h\
     413                                        ./SystemMatricesx/SystemMatricesx.cpp\
     414                                        ./SystemMatricesx/SystemMatricesx.h\
     415                                        ./PenaltyConstraintsx/PenaltyConstraintsx.cpp\
     416                                        ./PenaltyConstraintsx/PenaltyConstraintsx.h\
     417                                        ./PenaltySystemMatricesx/PenaltySystemMatricesx.cpp\
     418                                        ./PenaltySystemMatricesx/PenaltySystemMatricesx.h\
     419                                        ./Solverx/Solverx.cpp\
     420                                        ./Solverx/Solverx.h\
     421                                        ./Mergesolutionfromftogx/Mergesolutionfromftogx.cpp\
     422                                        ./Mergesolutionfromftogx/Mergesolutionfromftogx.h\
     423                                        ./ProcessParamsx/ProcessParamsx.cpp\
     424                                        ./ProcessParamsx/ProcessParamsx.h\
     425                                        ./VelocityExtrudex/VelocityExtrudex.cpp\
     426                                        ./VelocityExtrudex/VelocityExtrudex.h\
    418427                                        ./parallel/diagnostic_core_nonlinear.cpp\
    419428                                        ./parallel/CreateFemModel.cpp\
  • issm/trunk/src/c/ModelProcessorx/CreateElementsNodesAndMaterialsDiagnosticHoriz.cpp

    r110 r111  
    9797        int penta_artdiff;
    9898        int penta_thermal_steadystate;
     99        double penta_viscosity_overshoot;
    99100
    100101        /*matpar constructor input: */
     
    110111        double matpar_thermal_exchange_velocity;
    111112        double matpar_g;
    112         double matpar_viscosity_overshoot;
    113113
    114114        /* node constructor input: */
     
    381381                        penta_meanvel=model->meanvel;
    382382                        penta_epsvel=model->epsvel;
     383                       
     384                        /*viscosity_overshoot*/
     385                        penta_viscosity_overshoot=model->viscosity_overshoot;
    383386
    384387                        if (*(model->elements_type+2*i+0)==MacAyealEnum()){ //elements of type 3 are MacAyeal type Penta. We collapse the formulation on their base.
     
    394397                                        penta_p,penta_q,penta_shelf,penta_onbed,penta_onsurface,penta_meanvel,penta_epsvel,
    395398                                        penta_collapse,penta_melting,penta_accumulation,penta_geothermalflux,penta_artdiff,
    396                                         penta_thermal_steadystate);
     399                                        penta_thermal_steadystate,penta_viscosity_overshoot);
    397400
    398401                        /*Add penta element to elements dataset: */
     
    456459        matpar_mid=model->numberofelements+1; //put it at the end of the materials
    457460        matpar_g=model->g;
    458         matpar_viscosity_overshoot=model->viscosity_overshoot;
    459461        matpar_rho_ice=model->rho_ice;
    460462        matpar_rho_water=model->rho_water;
     
    470472        matpar=new Matpar(matpar_mid,matpar_rho_ice,matpar_rho_water,matpar_heatcapacity,matpar_thermalconductivity,
    471473                        matpar_latentheat,matpar_beta,matpar_meltingpoint,matpar_mixed_layer_capacity,
    472                         matpar_thermal_exchange_velocity,matpar_g,matpar_viscosity_overshoot);
     474                        matpar_thermal_exchange_velocity,matpar_g);
    473475               
    474476        /*Add to materials datset: */
  • issm/trunk/src/c/objects/Matpar.cpp

    r8 r111  
    2020        return;
    2121}
    22 Matpar::Matpar(int      matpar_mid, double      matpar_rho_ice, double  matpar_rho_water, double  matpar_heatcapacity, double  matpar_thermalconductivity, double  matpar_latentheat, double  matpar_beta, double  matpar_meltingpoint, double  matpar_mixed_layer_capacity, double  matpar_thermal_exchange_velocity, double  matpar_g, double  matpar_viscosity_overshoot){
     22Matpar::Matpar(int      matpar_mid, double      matpar_rho_ice, double  matpar_rho_water, double  matpar_heatcapacity, double  matpar_thermalconductivity, double  matpar_latentheat, double  matpar_beta, double  matpar_meltingpoint, double  matpar_mixed_layer_capacity, double  matpar_thermal_exchange_velocity, double  matpar_g){
    2323
    2424
     
    3434        thermal_exchange_velocity=matpar_thermal_exchange_velocity;
    3535        g=matpar_g;
    36         viscosity_overshoot=matpar_viscosity_overshoot;
    3736
    3837        return;
     
    5655        printf("   thermal_exchange_velocity: %g\n",thermal_exchange_velocity);
    5756        printf("   g: %g\n",g);
    58         printf("   viscosity_overshoot: %g\n",viscosity_overshoot);
    5957        return;
    6058}
     
    8684        memcpy(marshalled_dataset,&thermal_exchange_velocity,sizeof(thermal_exchange_velocity));marshalled_dataset+=sizeof(thermal_exchange_velocity);
    8785        memcpy(marshalled_dataset,&g,sizeof(g));marshalled_dataset+=sizeof(g);
    88         memcpy(marshalled_dataset,&viscosity_overshoot,sizeof(viscosity_overshoot));marshalled_dataset+=sizeof(viscosity_overshoot);
    8986
    9087        *pmarshalled_dataset=marshalled_dataset;
     
    105102                sizeof(thermal_exchange_velocity)+
    106103                sizeof(g)+
    107                 sizeof(viscosity_overshoot)+
    108104                sizeof(int); //sizeof(int) for enum type
    109105}
     
    135131        memcpy(&thermal_exchange_velocity,marshalled_dataset,sizeof(thermal_exchange_velocity));marshalled_dataset+=sizeof(thermal_exchange_velocity);
    136132        memcpy(&g,marshalled_dataset,sizeof(g));marshalled_dataset+=sizeof(g);
    137         memcpy(&viscosity_overshoot,marshalled_dataset,sizeof(viscosity_overshoot));marshalled_dataset+=sizeof(viscosity_overshoot);
    138133
    139134        /*return: */
  • issm/trunk/src/c/objects/Matpar.h

    r1 r111  
    2222                double  thermal_exchange_velocity;
    2323                double  g;
    24                 double  viscosity_overshoot;
    2524
    2625        public:
     
    2827                Matpar();
    2928       
    30                 Matpar(int      mid, double     rho_ice, double rho_water, double  heatcapacity, double  thermalconductivity, double  latentheat, double  beta, double  meltingpoint, double  mixed_layer_capacity, double  thermal_exchange_velocity, double  g, double  viscosity_overshoot);
     29                Matpar(int      mid, double     rho_ice, double rho_water, double  heatcapacity, double  thermalconductivity, double  latentheat, double  beta, double  meltingpoint, double  mixed_layer_capacity, double  thermal_exchange_velocity, double  g);
    3130               
    3231                ~Matpar();
  • issm/trunk/src/c/objects/Penta.cpp

    r92 r111  
    2222                                double penta_p, double penta_q, int penta_shelf, int penta_onbed, int penta_onsurface, double penta_meanvel,double penta_epsvel,
    2323                                int penta_collapse, double penta_melting[6], double penta_accumulation[6], double penta_geothermalflux[6],
    24                                 int penta_artdiff, int penta_thermal_steadystate){
     24                                int penta_artdiff, int penta_thermal_steadystate,double penta_viscosity_overshoot){
    2525       
    2626        int i;
     
    5858        artdiff = penta_artdiff;
    5959        thermal_steadystate = penta_thermal_steadystate;
     60        viscosity_overshoot = penta_viscosity_overshoot;
    6061
    6162        return;
     
    9798        printf("   artdiff: %i\n",artdiff);
    9899        printf("   thermal_steadystate: %i\n",thermal_steadystate);
     100        printf("   viscosity_overshoot: %i\n",viscosity_overshoot);
    99101        return;
    100102}
     
    143145        memcpy(marshalled_dataset,&artdiff,sizeof(artdiff));marshalled_dataset+=sizeof(artdiff);
    144146        memcpy(marshalled_dataset,&thermal_steadystate,sizeof(thermal_steadystate));marshalled_dataset+=sizeof(thermal_steadystate);
     147        memcpy(marshalled_dataset,&viscosity_overshoot,sizeof(viscosity_overshoot));marshalled_dataset+=sizeof(viscosity_overshoot);
    145148       
    146149        *pmarshalled_dataset=marshalled_dataset;
     
    178181                sizeof(artdiff)+
    179182                sizeof(thermal_steadystate) +
     183                sizeof(viscosity_overshoot) +
    180184                sizeof(int); //sizeof(int) for enum type
    181185}
     
    224228        memcpy(&artdiff,marshalled_dataset,sizeof(artdiff));marshalled_dataset+=sizeof(artdiff);
    225229        memcpy(&thermal_steadystate,marshalled_dataset,sizeof(thermal_steadystate));marshalled_dataset+=sizeof(thermal_steadystate);
     230        memcpy(&viscosity_overshoot,marshalled_dataset,sizeof(viscosity_overshoot));marshalled_dataset+=sizeof(viscosity_overshoot);
    226231
    227232        /*nodes and materials are not pointing to correct objects anymore:*/
     
    770775        tria_node_offsets[2]=node_offsets[g2];
    771776
    772         tria= new Tria(id,mid,mparid,tria_node_ids,tria_h,tria_s,tria_b,tria_k, friction_type,p,q,shelf,meanvel,epsvel);
     777        tria= new Tria(id,mid,mparid,tria_node_ids,tria_h,tria_s,tria_b,tria_k, friction_type,p,q,shelf,meanvel,epsvel,viscosity_overshoot);
    773778
    774779        tria->NodeConfiguration(tria_node_ids,tria_nodes,tria_node_offsets);
  • issm/trunk/src/c/objects/Penta.h

    r96 r111  
    5151                int    artdiff;
    5252                int    thermal_steadystate;
    53        
     53                double viscosity_overshoot;
    5454       
    5555        public:
     
    5959                                double p, double q, int    shelf, int    onbed, int    onsurface, double meanvel,double epsvel,
    6060                                int    collapse, double melting[6], double accumulation[6], double geothermalflux[6],
    61                                 int    artdiff, int    thermal_steadystate);
     61                                int    artdiff, int    thermal_steadystate,double viscosity_overshoot);
    6262                ~Penta();
    6363
Note: See TracChangeset for help on using the changeset viewer.