stupid error -- post deleted


71
views
0
4 months ago by
Community: FEniCS Project

1 Answer


2
4 months ago by
Why are you naming your input file 'test_func.xdmf'?. Try this instead

hfuncf = HDF5File(mpi_comm_world(), 'test_func.h5', 'r')​
f = Function(sol.function_space())
hfuncf.read(f, 'sol')
Yes, I caught it, but you were quicker than me!

Thanks -- sorry to have wasted your time. :-(
written 4 months ago by Leon Avery  
Please login to add an answer/comment or follow this question.

Similar posts:
Search »
  • Nothing matches yet.