Replies: 1 comment 5 replies
-
HI, @cyasing, Have you considered using Best wishes, |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to create multiple source-receiver pairs for the simulation based on example 25 of Electromagnetics for the
inline-quad.mesh
. I would like these sources to be in a circle around the centre with a specific radius. I have the function ready in normal coordinates, but I don't know how to translate it into MFEM's mesh based functions. This is what I have:The example 25 just places the source at the centre using
0.5_r * (comp_domain_bdr(i, 0) + comp_domain_bdr(i, 1))
. I would like to modify this to be able to calculate positions for source and receivers, and store them in some way, maybe as element numbers, or dofs, or coordinates.At the receiver positions, I just want to be able to collect data
x
, which I think I can do usingx.real().GetSubVector(dofs, e_r)
, where dofs correspond todofs
of elements at the receiver locations. Is this a good approach or can it be better?Beta Was this translation helpful? Give feedback.
All reactions