Hello,
i want to compare H1-space and HCurl-space for 2D magnetostatics problems.
I got it running in 3D, but have a problem in 2D with HCurl-space with the current enforcement.
For the H1-space i defined the current like this:
Code:
curdens1_cf = CoefficientFunction([curdens if mat == "coil1" else 0 for mat in mesh.GetMaterials()])
...
f += SymbolicLFI(curdens1_cf*v)
For HCurl this can't work, because v has dim=2.
Can anybody give me a hint, where i can find a clue to the right solution?