08.07.2015 Views

Project: 2D Stokes equations and geodynamic deformation

Project: 2D Stokes equations and geodynamic deformation

Project: 2D Stokes equations and geodynamic deformation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Numerische Methoden 1 – B.J.P. Kausfunction [ind_list,ind_val] = Add_coeffs(ind_list,ind_val,ind_add,val_add)% Add coefficients to an array%if (length(val_add(:))==1)val_add = ones(size(ind_add))*val_add;endind_list = [ind_list, ind_add(:)];ind_val = [ind_val , val_add(:)];Figure 4: MATLAB script Add coeffs.m, used by Staggered <strong>Stokes</strong>.m.5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!