I would like to initialize an empty mesh. But when I run this:
mesh = Mesh()
I get this error:
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. ngsolve.comp.Mesh(ngmesh: netgen.libngpy._meshing.Mesh)
2. ngsolve.comp.Mesh(filename: str, comm: netgen.libngpy._meshing.MPI_Comm = <netgen.libngpy._meshing.MPI_Comm object at 0x7f520da8b170>)
According to the examples in the documentation, this should work.