Changeset 468


Ignore:
Timestamp:
05/18/09 10:30:09 (15 years ago)
Author:
Eric.Larour
Message:

Added sub_analysis_type

Location:
issm/trunk/src/c/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Pengrid.cpp

    r465 r468  
    233233#undef __FUNCT__
    234234#define __FUNCT__ "Pengrid::PenaltyCreatePVector"
    235 void  Pengrid::PenaltyCreatePVector(Vec pg,void* inputs,double kmax,int analysis_type){
     235void  Pengrid::PenaltyCreatePVector(Vec pg,void* inputs,double kmax,int analysis_type,int sub_analysis_type){
    236236
    237237        /*No penalty applied, do nothing: */
  • issm/trunk/src/c/objects/Penta.cpp

    r465 r468  
    11121112                 * and compute Du*/
    11131113                tria=(Tria*)SpawnTria(0,1,2); //grids 0, 1 and 2 make the new tria (lower face).
    1114                 tria->Du(du_g,u_g,u_g_obs,inputs,analysis_type);
     1114                tria->Du(du_g,u_g,u_g_obs,inputs,analysis_type,sub_analysis_type);
    11151115                delete tria;
    11161116                return;
     
    11191119               
    11201120                tria=(Tria*)SpawnTria(3,4,5); //grids 3, 4 and 5 make the new tria (upper face).
    1121                 tria->Du(du_g,u_g,u_g_obs,inputs,analysis_type);
     1121                tria->Du(du_g,u_g,u_g_obs,inputs,analysis_type,sub_analysis_type);
    11221122                delete tria;
    11231123                return;
     
    11821182                 * and compute Misfit*/
    11831183                tria=(Tria*)SpawnTria(0,1,2); //grids 0, 1 and 2 make the new tria (lower face).
    1184                 J=tria->Misfit( velocity,obs_velocity,inputs,analysis_type);
     1184                J=tria->Misfit( velocity,obs_velocity,inputs,analysis_type,sub_analysis_type);
    11851185                delete tria;
    11861186                return J;
     
    11891189
    11901190                tria=(Tria*)SpawnTria(3,4,5); //grids 3, 4 and 5 make the new tria (upper face).
    1191                 J=tria->Misfit( velocity,obs_velocity,inputs,analysis_type);
     1191                J=tria->Misfit( velocity,obs_velocity,inputs,analysis_type,sub_analysis_type);
    11921192                delete tria;
    11931193                return J;
Note: See TracChangeset for help on using the changeset viewer.