Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorsten Becker committed Oct 14, 2013
1 parent d8da888 commit 5d89a4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions calc_dyn_topo
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ cat tmp.ab | \
gawk -v fac=$fac '{print($1,$2,$3*fac)}' | \
xyz2grd -fg -Rg -I1 -Nnan -Gdtopo.grd
grd2map dtopo.grd


hc_extract_sh_layer dscaled.sol.bin 2 4
7 changes: 3 additions & 4 deletions hc_invert_dtopo.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,15 @@ int main(int argc, char **argv)
{
/* compute solution */
hc_solve(model,p->free_slip,p->solution_mode,sol_spectral,
(solved)?(FALSE):(TRUE), /* density changed? */
TRUE, /* density changed? */
(solved)?(FALSE):(TRUE), /* plate velocity changed? */
TRUE, /* viscosity changed */
FALSE,p->compute_geoid,
pvel,model->dens_anom,geoid,
p->verbose);
/* extract the top tractions */
hc_compute_dynamic_topography(model,sol_spectral,&dtopo,FALSE,p->verbose);

sh_single_par_and_exp_to_file(dtopo,"dtopo.ab",TRUE,p->verbose);
hc_compute_dynamic_topography(model,sol_spectral,&dtopo,TRUE,p->verbose);
//sh_single_par_and_exp_to_file(dtopo,"dtopo.ab",TRUE,p->verbose);

/* geoid correlation */
hc_compute_correlation(geoid,p->ref_geoid,(gcorr),0,p->verbose); /* full correlation */
Expand Down

0 comments on commit 5d89a4b

Please sign in to comment.