Changeset 5223


Ignore:
Timestamp:
08/13/10 09:04:33 (15 years ago)
Author:
seroussi
Message:

numdofs depends on vertices_type in DiagnosticHoriz

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/ModelProcessorx/DistributeNumDofs.cpp

    r5114 r5223  
    1717        /*ok, according to analysis type: */
    1818        if (analysis_type==DiagnosticHorizAnalysisEnum){
    19                 numdofs=2;
     19                if ((int)*vertices_type==MacAyealApproximationEnum){
     20                        numdofs=2;
     21                }
     22                else if ((int)*vertices_type==PattynApproximationEnum){
     23                        numdofs=2;
     24                }
     25                else if ((int)*vertices_type==MacAyealPattynApproximationEnum){
     26                        numdofs=4;
     27                }
     28                else ISSMERROR("Approximationtype %i (%s) not implemented yet for DiagnosticHoriz",(int)*vertices_type,EnumToString((int)*vertices_type));
    2029        }
    2130        else if (analysis_type==DiagnosticVertAnalysisEnum){
Note: See TracChangeset for help on using the changeset viewer.