xfem module cutmg

More
5 years 2 weeks ago #1877 by Kathy
xfem module cutmg was created by Kathy
Dear Developers of NGSolve,

I came across a new multigrid solver for scalar unfitted interface problems just uploaded on the updated version of ngsxfem library in github and I tried to run the corresponding jupyter file cutmg.ipynb. Unfortunately, I received an error "No module named xfem.cutmg". I updated ngsxfem library and ngsolve but I still have the same error. What should I do to fix this error?

I would like to thank you in advance!
Katerina
More
5 years 2 weeks ago #1878 by schruste
Replied by schruste on topic xfem module cutmg
Dear Kathy,

There were indeed some troubles with the version on github. We updated it just now. Please try the most recent release (v1.1-1908) again (which requires NGSolve v6.2.1908).

Best,
Christoph
More
5 years 1 week ago #1884 by Kathy
Replied by Kathy on topic xfem module cutmg
Dear Christoph,
I would like to thank you for your immediate response to my inquiry! Unfortunately, I still encounter some problems when trying to update ngsxfem. Specifically I receive the following messages:

LIBS/ngsxfem/spacetime/SpaceTimeFESpace.cpp:84:23: error: no matching function for call to ‘ngcomp::SpaceTimeFESpace::Update(ngcore::LocalHeap&)’
FESpace::Update(lh);
^
/usr/include/netgen/fespace.hpp:233:18: note: candidate: virtual void ngcomp::FESpace::Update()
virtual void Update();
^~~~~~
/usr/include/netgen/fespace.hpp:233:18: note: candidate expects 0 arguments, 1 provided
LIBS/ngsxfem/spacetime/SpaceTimeFESpace.cpp:85:18: error: no matching function for call to ‘ngcomp::FESpace::Update(ngcore::LocalHeap&)’
Vh->Update(lh);
^
/usr/include/netgen/fespace.hpp:233:18: note: candidate: virtual void ngcomp::FESpace::Update()
virtual void Update();
^~~~~~
/usr/include/netgen/fespace.hpp:233:18: note: candidate expects 0 arguments, 1 provided
spacetime/CMakeFiles/ngsxfem_spacetime.dir/build.make:86: recipe for target 'spacetime/CMakeFiles/ngsxfem_spacetime.dir/SpaceTimeFESpace.cpp.o' failed
make[2]: *** [spacetime/CMakeFiles/ngsxfem_spacetime.dir/SpaceTimeFESpace.cpp.o] Error 1
CMakeFiles/Makefile2:1541: recipe for target 'spacetime/CMakeFiles/ngsxfem_spacetime.dir/all' failed
make[1]: *** [spacetime/CMakeFiles/ngsxfem_spacetime.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2

Can you help me on what is the error about?

Sorry for the long message and thank you in advance for your time!

Kind regards,
Katerina
More
5 years 1 week ago #1886 by Kathy
Replied by Kathy on topic xfem module cutmg
Dear Christoph,

Problem solved!!! Please ignore my previous message! Thank you very much for your effort to update ngsolve and ngsxfem!

Kind regards,
Katerina
Time to create page: 0.090 seconds