Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Compound spaces for pde files

More
6 years 9 months ago #59 by ddrake
Hi,
Using version NETGEN-6.2-dev with NGSolve-6.2.1706-163-g0ed4994
pde files which use compound spaces like this:
Code:
fespace fs -type=compound -spaces=[fs1,fs2,fs3]
are now failing in
Code:
numproc bvp
...add grid_function euq
.The error message is "Exception in NGS_LoadPDE. don't know my dimension"
Here is an example pde file that is failing this way.
Code:
shared = "../libDPG" constant heapsize = 10000000 geometry = square.in2d mesh = square2.vol.gz constant one = 1 constant minus = -1.0 coefficient lam (1+I) # Source (exact solution unknown) coefficient f ( (1+I)*exp( -100.0*(x*x+y*y) ) ) # Compound finite element space: fespace fs1 -type=h1ho -order=3 -dirichlet=[1] -complex fespace fs2 -type=hdivho -order=2 -orderinner=1 -complex fespace fs3 -type=l2ho -order=4 -complex fespace fs -type=compound -spaces=[fs1,fs2,fs3] -complex # Forms: bilinearform dpg -fespace=fs -eliminate_internal gradgrad (1) (3) lam # (grad u, grad v) + Hermitian transpose flxtrc (2) (3) minus # - << q.n, v >> + Hermitian transpose laplace one -comp=3 # (grad e, grad v) mass one -comp=3 # (e,v) linearform lf -fespace=fs source f -comp=3 # Solve: gridfunction uqe -fespace=fs numproc bvp n2 -bilinearform=dpg -linearform=lf -gridfunction=uqe -solver=direct
I'm attaching a pdf file with a gdb stack trace and some source code context.

I will be porting these pde files to python, but please let me know if there is some modification to the pde syntax that may get them working again.

Thanks!
Dow Drake
Attachments:
More
6 years 9 months ago #61 by joachim
fixed with the coming nightly release
(commit 08d09652024c5ebae10e717c731e7d93dbb3c3d0)
The following user(s) said Thank You: ddrake
Time to create page: 0.117 seconds