Re: [deal.II] Derivatives (gradients) of Symmetric Tensors

2016-10-05 Thread Metin Cakircali
Daniel, Thanks again. To summarize, I want to implement the gradients and the laplacian functions for the SymmetricTensor class. The laplacian (trace of hessian) for the fe_values block extractor is straightforward, but the gradients (of the solution field) for the SymmetricTensor has some iss

Re: [deal.II] Derivatives (gradients) of Symmetric Tensors

2016-10-04 Thread Metin Cakircali
Daniel, thank you for the explanation. I understand that the components are in space (x/y/z), and (*shape_gradient_ptr++)[d] would be derivative of phi in each direction; is that correct? (compared to vectors) the implementation of divergence function for the tensors is as following;

Re: [deal.II] Derivatives (gradients) of Symmetric Tensors

2016-09-30 Thread Metin Cakircali
Hi Wolfgang, In the fe_values.cc, the function "FEValuesViews::internal::do_function_derivatives" (for vectors), and in the fe_values.h, the type functions "vector::gradient" and "vector::symmetric_gradient"; are not clear to me because I'm not familiar with the data structure. Inside the fe_