Hi 

I am again tinkering with my favorite tutorial step 23 and I am have a 
question again on how to move forward. What I am attempting to do now is 
redo this setup but rather than using helper functions to create the system 
matrix and RHS, I am trying to build the system by looping over the cells. 

My question stems from how I get the appropriate local values from vectors 
to use in the loops. So in step 23 you would want to get values from 
old_solution_u and old_solution_v. Now I looked at other tutorials and I 
not 100% sure they had a similar need. In looking over the documentation my 
guess is that I would use the overloaded get_function_values 

void FEValuesBase 
<https://www.dealii.org/current/doxygen/deal.II/classFEValuesBase.html>< 
dim, spacedim >::get_function_values
(
const InputVector & fe_function,
const ArrayView 
<https://www.dealii.org/current/doxygen/deal.II/classArrayView.html>< const 
types::global_dof_index 
<https://www.dealii.org/current/doxygen/deal.II/namespacetypes.html#a3543786f7dc7c57385fc923a6afd5917>
 > 
& indices,
std::vector< typename InputVector::value_type > & values 
)

Is this correct? Also how would I deal with quadrature points in this 
instance in this context. Any help would be much appreciated?

Matt

-- 
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/bd0dabcf-22c3-4952-baf8-dbc2fe32cc5en%40googlegroups.com.

Reply via email to