- Thank you received: 3
Memory issue with HCurl
7 years 2 months ago #168
by ddrake
Memory issue with HCurl was created by ddrake
Using the current build of NGSolve (6.2.1708-44-g6a6eeec), I'm now seeing memory issues when constructing an HCurl space. For example:
usually gives: "MemoryError: std::bad_array_new_length" and other times just segfaults.
I'm seeing similar behavior when this line is encountered in python_tutorials/cmagnet.py:
This issue was not present for me in previous builds (the last was about 4 days ago).
Best,
Dow Drake
Code:
from ngsolve import *
from netgen.csg import unit_cube
mesh = Mesh (unit_cube.GenerateMesh(maxh=0.5))
Xo= HCurl(mesh, order=4,dirichlet=[1,2,3,4,5,6],complex=True)
I'm seeing similar behavior when this line is encountered in python_tutorials/cmagnet.py:
Code:
fes = HCurl(mesh, order=4, dirichlet="outer", nograds = True)
Best,
Dow Drake
Time to create page: 0.104 seconds