Dear   Daniel,

  When I am at the face  I need the solution at the interior  quadrature  
points as well.  However from  dinfo1.indices   we could get the  the dof 
indices for the cell1. But  is it possible to get the shape value at the 
interior quadrature points ?

Thanks a lot

On Friday, November 18, 2016 at 6:58:47 AM UTC-3, Daniel Arndt wrote:
>
> Sudarshan,
>
> template <int dim>
>> void Step12<dim>::integrate_face_term (DoFInfo& dinfo1, DoFInfo& dinfo2,
>>                                            CellInfo& info1, CellInfo& 
>> info2)
>> {
>>    const FEValuesBase<dim>& fe_v          = info1.fe_values();
>>    const FEValuesBase<dim>& fe_v_neighbor = info2.fe_values();
>>    
>>    const std::vector<double>& sol1 = info1.values[0][0];
>>    const std::vector<double>& sol2 = info2.values[0][0];
>>
>> }  
>>
>> In the above  call,  sol1 and sol2  reference to the solution values only 
>> at the face of cell1 and cell2. 
>>
> More precisely, sol1 and sol2 contain the values at the quadrature points 
> which happen to be on a face when you want to integrate a face term.
>
> Is it possible to extract the solution values  in the interior of cell1 
>> and cell2 in the above function ??
>>
> No that easily. Why do you need this? How does the face term you are 
> interested in look like?
>
> Best,
> Daniel
>

-- 
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to