Re: [deal.II] Error when modify Step 29 into complex-valued problem
14 views
Skip to first unread message
Wolfgang Bangerth
unread,
Sep 25, 2022, 4:49:38 PM9/25/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dea...@googlegroups.com
yy.wayne:
The error message says that the function object you pass to interpolate_b_v
has two vector components, but the finite element space has only one vector
component. That's because in step-29, you needed two vector components for the
boundary values (for the real and imaginary parts) whereas you are now
defining a scalar finite element space with only one vector component. You
need to adjust the object that provides boundary values appropriately.