Skip to content

Commit

Permalink
Updated the help
Browse files Browse the repository at this point in the history
  • Loading branch information
rafavzqz committed Jan 10, 2025
1 parent 5e4ff6d commit 0746598
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions geopdes/inst/multipatch/mp_geo_load.m
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
% MP_GEO_LOAD: create a multipatch geometry structure and the interfaces structure from a file.
%
% [geometry, boundaries, interfaces, subdomains, boundary_interfaces] = mp_geo_load (input, tolerance)
% [geometry, boundaries, interfaces, subdomains, boundary_interfaces] = mp_geo_load (input, [tolerance])
%
% INPUT :
%
% The input variable may be either
% - an array of NURBS structures representing a nurbs geometry, as in the NURBS toolbox
% - a string variable with the name of the file to be read (see doc/geo_specs_mp_v21.txt)
%
% In the second case, the information is automatically generated with the function
% nrbmultipatch. It is recommended to check that all the information is correct.
% In the first case, the information is automatically generated with the function
% nrbmultipatch, using the value given by "tolerance". If not present, a default
% tolerance of 1e-13 is used. It is recommended to check that all the information is correct.
%
% OUTPUT:
%
Expand Down Expand Up @@ -66,7 +67,7 @@
% <http://www.gnu.org/licenses/>.

function [geometry, boundaries, interfaces, subdomains, boundary_interfaces] = mp_geo_load (in, tol)
if nargin < 2
if (nargin < 2)
tol = 1e-13;
end

Expand Down

0 comments on commit 0746598

Please sign in to comment.