Changeset 1753


Ignore:
Timestamp:
08/18/09 14:52:09 (16 years ago)
Author:
seroussi
Message:

changec names in macayleal's model

Location:
issm/trunk/src/m/solutions/macayeal
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/solutions/macayeal/control.m

    r917 r1753  
    3838rho_water=md.rho_water;
    3939g=md.g;
    40 index_icefront=md.segmentonneumann_diag; index_icefront=index_icefront(:,1:2); %we strip the last column, which holds the element number for the boundary segment
     40index_icefront=md.pressureload; index_icefront=index_icefront(:,1:2); %we strip the last column, which holds the element number for the boundary segment
    4141nodes_on_boundary=md.gridonboundary;
    4242nodes_on_dirichlet=md.gridondirichlet_diag;
  • issm/trunk/src/m/solutions/macayeal/diagnostic.m

    r917 r1753  
    3636g=md.g;
    3737viscosity_overshoot=md.viscosity_overshoot;
    38 index_icefront=md.segmentonneumann_diag; index_icefront=index_icefront(:,1:2); %we strip the last column, which holds the element number for the boundary segment
     38index_icefront=md.pressureload; index_icefront=index_icefront(:,1:2); %we strip the last column, which holds the element number for the boundary segment
    3939nodes_on_boundary=md.gridonboundary;
    4040nodes_on_icefront=zeros(nods,1); nodes_on_icefront(index_icefront)=1;
    41 node_on_dirichlet=md.gridondirichlet_diag;
     41node_on_dirichlet=md.spcvelocity(:,1);
    4242nodes_on_icesheet=md.gridonicesheet;
    4343element_on_icesheet=md.elementonicesheet;
     
    249249specified_velocity=zeros(2*nods,1);
    250250pos=find(node_on_dirichlet);
    251 specified_velocity(pos)=md.dirichletvalues_diag(pos,1)/md.yts;
    252 specified_velocity(nods+pos)=md.dirichletvalues_diag(pos,2)/md.yts;
     251specified_velocity(pos)=md.spcvelocity(pos,1)/md.yts;
     252specified_velocity(nods+pos)=md.spcvelocity(pos,2)/md.yts;
    253253
    254254
Note: See TracChangeset for help on using the changeset viewer.