Commit ceb638b0 authored by Simon Waldman's avatar Simon Waldman

Tweak to add_sponge_nodes_list (reverted from commit 37fdd66e)

parent 3d025eb7
......@@ -82,7 +82,7 @@ Mobj.nSponge = Mobj.nSponge + 1;
Mobj.nSpongeNodes(Mobj.nSponge) = npts;
Mobj.sponge_nodes(Mobj.nSponge, 1:npts) = SpongeList;
Mobj.sponge_name{Mobj.nSponge} = SpongeName;
Mobj.sponge_fac(Mobj.nSponge,1:npts) = SpongeCoeff;
Mobj.sponge_fac(Mobj.nSponge) = SpongeCoeff;
if numel(unique(SpongeRadius)) == 1 % if you have a constant sponge radius
Mobj.sponge_rad(Mobj.nSponge) = SpongeRadius;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment