Quick 1D-mesh

More
2 years 3 months ago #4494 by welahi
Quick 1D-mesh was created by welahi
Dear all,

is there any 1D equivalent to the `unit_square`-mesh generation functionality in netgen? I just need an interval and don't want to import from external meshing software.

Thanks in advance,
welahi
More
2 years 3 months ago #4495 by hvwahl
Replied by hvwahl on topic Quick 1D-mesh
Hi wlahi,

the ngsolve submodule ngsolve.meshes has the function Make1DMesh for that purpose. You can also have a look at the ngsolve tutorial file py_tutorials/fem1d.py for this.

Best wishes,
Henry
More
2 years 3 months ago #4496 by welahi
Replied by welahi on topic Quick 1D-mesh
Thank you very much!

I have a follow-up question, though. The tutorial you mentioned is unfortunately very well hidden. I only knew the docs , but the tutorials aren't the same as on github. I've also noticed that minor things in the current version don't work exactly like in the docs. Is somewhere a complete, up-to-date documentation/tutorial I don't know of? :D

Best,
welahi
Time to create page: 0.122 seconds