Mercurial > forge
diff extra/bim/inst/bim2a_axisymmetric_rhs.m @ 12628:4cacfa5f9470 octave-forge
push changes made for release
author | cdf |
---|---|
date | Mon, 08 Jun 2015 08:51:06 +0000 |
parents | afa2a6681ec6 |
children |
line wrap: on
line diff
--- a/extra/bim/inst/bim2a_axisymmetric_rhs.m Mon Jun 01 07:38:49 2015 +0000 +++ b/extra/bim/inst/bim2a_axisymmetric_rhs.m Mon Jun 08 08:51:06 2015 +0000 @@ -45,7 +45,7 @@ ## Check input if (nargin != 3) error("bim2a_axisymmetric_rhs: wrong number of input parameters."); - elseif !(isstruct(mesh) && isfield(mesh,"p") && + elseif !(isstruct(mesh) && isfield(mesh,"p") && isfield (mesh,"t") && isfield(mesh,"e")) error("bim2a_axisymmetric_rhs: first input is not a valid mesh structure."); elseif !(all(mesh.p(1,:) >= 0) || all(mesh.p(1,:) <= 0))