Changeset 16533


Ignore:
Timestamp:
10/23/13 11:54:05 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: created datasets for SmoothedSurfaceAnalysis

Location:
issm/trunk-jpl/src/c
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/cores/AnalysisConfiguration.cpp

    r16529 r16533  
    8282
    8383                case BalancevelocitySolutionEnum:
    84                         numanalyses=2;
     84                        numanalyses=3;
    8585                        analyses=xNew<int>(numanalyses);
    8686                        analyses[0]=BalancevelocityAnalysisEnum;
    87                         analyses[1]=L2ProjectionBaseAnalysisEnum;
     87                        analyses[1]=SmoothedSurfaceSlopeXAnalysisEnum;
     88                        analyses[2]=SmoothedSurfaceSlopeYAnalysisEnum;
    8889                        break;
    8990
  • issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateDataSets.cpp

    r16529 r16533  
    119119                        CreateLoadsBalancevelocity(ploads,iomodel);
    120120                        UpdateElementsBalancevelocity(elements,iomodel,analysis_counter,analysis_type);
     121                        break;
     122                case SmoothedSurfaceSlopeXAnalysisEnum:
     123                        iomodel->FetchData(1,MeshVertexonbedEnum);
     124                        CreateNodes(pnodes,iomodel,SmoothedSurfaceSlopeXAnalysisEnum,P1Enum);
     125                        iomodel->DeleteData(1,MeshVertexonbedEnum);
     126                        UpdateElementsL2ProjectionBase(elements,iomodel,analysis_counter,analysis_type);
     127                        break;
     128                case SmoothedSurfaceSlopeYAnalysisEnum:
     129                        iomodel->FetchData(1,MeshVertexonbedEnum);
     130                        CreateNodes(pnodes,iomodel,SmoothedSurfaceSlopeYAnalysisEnum,P1Enum);
     131                        iomodel->DeleteData(1,MeshVertexonbedEnum);
     132                        UpdateElementsL2ProjectionBase(elements,iomodel,analysis_counter,analysis_type);
    121133                        break;
    122134                #endif
  • issm/trunk-jpl/src/c/modules/ModelProcessorx/DistributeNumDofs.cpp

    r16529 r16533  
    143143                        numdofs=1;
    144144                        break;
     145                case SmoothedSurfaceSlopeXAnalysisEnum:
     146                        numdofs=1;
     147                        break;
     148                case SmoothedSurfaceSlopeYAnalysisEnum:
     149                        numdofs=1;
     150                        break;
    145151                default:
    146152                        _error_("analysis type: " << analysis_type << " (" << EnumToStringx(analysis_type) << ") not implemented yet");
Note: See TracChangeset for help on using the changeset viewer.