Problem with 3D nedelec element

Dear sir

i am not able to multiply test function from nedelec space and known function of 3 dimensional.


import dolfin
from dolfin import*

import matplotlib.pyplot as plt

mesh = UnitCubeMesh(10, 10, 10)

V=FunctionSpace(mesh, "Nedelec 1st kind H(curl)", 1)

u=TrialFunction(V)
v=TestFunction(V)

f=Expression(("x[0]", "x[1]", "x[2]"), degree=1)
a=f*v*dx

f and v are vector quantities. Employ, for example, dot(f,v)*dx.

1 Like