Hello

While assembling interface terms in a DG code with FESystem and 
FEInterfaceValues, I am not able to get the component which I would normally do 
with

for(i=0; i<fe.dofs_per_cell; ++i)
   fe.system_to_component_index(i).first

Now since ā€œiā€ comes from joint dof indices, above will not work.

Do you have a suggestion for this ?

I suppose I could use interface_dof_to_dof_indices()

https://dealii.org/current/doxygen/deal.II/classFEInterfaceValues.html#ad3e0203907da47ea2e312e94ec342b39

which gives the dof index on one cell and then do 
fe.system_to_component_index(i).first.

But this returns a tuple, and I have to find one of them which is valid, which 
seems ugly.

Thanks
praveen

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/85E2AD62-A98B-4903-8333-F16BC71C3782%40gmail.com.

Reply via email to