bug message reminder

When adressing a model crash or bug, please remember to include an entire model setup in your post that reproduces the crash or exposes the bug. Also add the XBlog.txt file. This is necessary information for people that are trying to help you. Including your model setup can be achieved by adding the zipped run directory (excluding output) as an attachment to the post.

Forum

get_morpho

SN
Sonalier Nathan, modified 4 Years ago.

get_morpho

Capillary Posts: 4 Join Date: 4/21/16 Recent Posts
Hi
I'm a new xbeach user so I'm trying to understand how it works and I encounter difficulties to analyse results.
I run the model present in xbeach_grid_tutorial and I would like to see how evolve the morphology of the beach.
So I tried the code following :

xb_get_morpho(xbm_model);

but it replies

Attempted to access x(1,emoticon; index out of bounds because size(x)=[0,0].

Error in xb_get_morpho (line 81)
x = squeeze(x(1,emoticon);


Does anybody know a way to compute the change of the morphology ?
Thanks a lot.