Changeset 20981


Ignore:
Timestamp:
07/22/16 11:39:17 (9 years ago)
Author:
Mathieu Morlighem
Message:

CHG: no more Thickness as independent

Location:
issm/trunk-jpl/test/NightlyRun
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/ad.m

    r15565 r20981  
    88md.verbose.autodiff=true;
    99md.autodiff.independents={...
    10         independent('name','Thickness','type','vertex','nods',md.mesh.numberofvertices);
    11         %independent('name','Thickness','type','vertex','nods',md.mesh.numberofvertices,'fov_forward_indices',(1:md.mesh.numberofvertices)')
    12         %independent('name','Thickness','type','vertex','nods',md.mesh.numberofvertices,'fos_forward_index',1)
     10        independent('name','md.geometry.thickness','type','vertex','nods',md.mesh.numberofvertices);
     11        %independent('name','md.geometry.thickness','type','vertex','nods',md.mesh.numberofvertices,'fov_forward_indices',(1:md.mesh.numberofvertices)')
     12        %independent('name','md.geometry.thickness','type','vertex','nods',md.mesh.numberofvertices,'fos_forward_index',1)
    1313        };
    1414
  • issm/trunk-jpl/test/NightlyRun/ad_maxalloc.m

    r15565 r20981  
    88md.verbose.autodiff=true;
    99md.autodiff.independents={...
    10         independent('name','Thickness','type','vertex','nods',md.mesh.numberofvertices,'fov_forward_indices',(1:md.mesh.numberofvertices)')
     10        independent('name','md.geometry.thickness','type','vertex','nods',md.mesh.numberofvertices,'fov_forward_indices',(1:md.mesh.numberofvertices)')
    1111        };
    1212
  • issm/trunk-jpl/test/NightlyRun/test3015.m

    r19049 r20981  
    1616index=1; %this is the scalar component we are checking against
    1717md.autodiff.independents={...
    18         independent('name','Thickness','type','vertex','nods',md.mesh.numberofvertices,'fos_forward_index',index)
     18        independent('name','md.geometry.thickness','type','vertex','nods',md.mesh.numberofvertices,'fos_forward_index',index)
    1919        };
    2020
  • issm/trunk-jpl/test/NightlyRun/test3015.py

    r20313 r20981  
    2929index=1 #this is the scalar component we are checking against
    3030md.autodiff.independents=[\
    31         independent('name','Thickness','type','vertex','nods',md.mesh.numberofvertices,'fos_forward_index',index)
     31        independent('name','md.geometry.thickness','type','vertex','nods',md.mesh.numberofvertices,'fos_forward_index',index)
    3232        ]
    3333
  • issm/trunk-jpl/test/NightlyRun/test3019.m

    r19475 r20981  
    1212
    1313%first run scalar reverse mode:
    14 md.autodiff.independents={independent('name','Thickness','type','vertex','nods',md.mesh.numberofvertices)};
     14md.autodiff.independents={independent('name','md.geometry.thickness','type','vertex','nods',md.mesh.numberofvertices)};
    1515md.autodiff.dependents={dependent('name','MaxVel','type','scalar','fos_reverse_index',1)};
    1616md.autodiff.driver='fos_reverse';
     
    2222
    2323%now run vectorial forward mode
    24 md.autodiff.independents={independent('name','Thickness','type','vertex','nods',md.mesh.numberofvertices,'fov_forward_indices',(1:md.mesh.numberofvertices)')};
     24md.autodiff.independents={independent('name','md.geometry.thickness','type','vertex','nods',md.mesh.numberofvertices,'fov_forward_indices',(1:md.mesh.numberofvertices)')};
    2525md.autodiff.dependents={dependent('name','MaxVel','type','scalar')};
    2626md.autodiff.driver='fov_forward';
  • issm/trunk-jpl/test/NightlyRun/test3019.py

    r20561 r20981  
    2323
    2424#first run scalar reverse mode:
    25 md.autodiff.independents=[independent('name','Thickness','type','vertex','nods',md.mesh.numberofvertices)]
     25md.autodiff.independents=[independent('name','md.geometry.thickness','type','vertex','nods',md.mesh.numberofvertices)]
    2626md.autodiff.dependents=[dependent('name','MaxVel','type','scalar','fos_reverse_index',1)]
    2727md.autodiff.driver='fos_reverse'
     
    3333
    3434#now run vectorial forward mode
    35 md.autodiff.independents=[independent('name','Thickness','type','vertex','nods',md.mesh.numberofvertices,'fov_forward_indices',numpy.arange(0,md.mesh.numberofvertices))]
     35md.autodiff.independents=[independent('name','md.geometry.thickness','type','vertex','nods',md.mesh.numberofvertices,'fov_forward_indices',numpy.arange(0,md.mesh.numberofvertices))]
    3636md.autodiff.dependents=[dependent('name','MaxVel','type','scalar')]
    3737md.autodiff.driver='fov_forward'
  • issm/trunk-jpl/test/NightlyRun/test3020.m

    r20561 r20981  
    1717index=1; %this is the scalar component we are checking against
    1818md.autodiff.independents={...
    19         independent('name','Thickness','type','vertex','nods',md.mesh.numberofvertices,'fos_forward_index',index)
     19        independent('name','md.geometry.thickness','type','vertex','nods',md.mesh.numberofvertices,'fos_forward_index',index)
    2020        };
    2121
  • issm/trunk-jpl/test/NightlyRun/test3020.py

    r20527 r20981  
    3030index=1 #this is the scalar component we are checking against
    3131md.autodiff.independents=[\
    32         independent('name','Thickness','type','vertex','nods',md.mesh.numberofvertices,'fos_forward_index',index)
     32        independent('name','md.geometry.thickness','type','vertex','nods',md.mesh.numberofvertices,'fos_forward_index',index)
    3333        ]
    3434
Note: See TracChangeset for help on using the changeset viewer.