Mercurial > fem-fenics-eugenio
diff src/MeshFunction.cc @ 264:41b76530fe5e
Do not force extension for imported MeshFunction
To be consistent with Mesh
author | Eugenio Gianniti <eugenio.gianniti@mail.polimi.it> |
---|---|
date | Thu, 07 Aug 2014 20:34:50 +0200 |
parents | a61fc34334ca |
children | 53039ac90368 |
line wrap: on
line diff
--- a/src/MeshFunction.cc Thu Aug 07 19:21:36 2014 +0200 +++ b/src/MeshFunction.cc Thu Aug 07 20:34:50 2014 +0200 @@ -25,7 +25,7 @@ MeshFunction (@var{Mesh}, @var{filename})\n\ @deftypefnx {Function File} {[@var{meshfunc}]} = \ MeshFunction (@var{type}, @var{Mesh}, @var{filename})\n\ -Initialize a meshfunction with the values contained in a XDMF file.\n\ +Initialize a meshfunction with the values contained in a file.\n\ The output @var{meshfunc} is an object which contains a representation of the \ meshfunction in @var{filename} which can be used to mark subdomains or \ facets where Dirichlet boundary conditions are to be applied.\n\ @@ -78,7 +78,6 @@ { SHARED_PTR <dolfin::Mesh const> const & pmsh = msh_arg.get_pmsh (); - filename += ".xdmf"; try { retval = new meshfunction (label, pmsh, filename); }