Re: [deal.II] using FEValues extractor for a

2016-12-17 Thread luca.heltai
Dear Anup, one option you have is to use a Triangulation. I would still use two scalar extractors: const FEValuesExtractors::Scalar u_x const FEValuesExtractors::Scalar u_y Tensor<2,dim+1> gradient; gradient[0] = fe_values_ref[u_x].gradient(k, q_point) gradient[1] = fe_values_ref[u_y].gradien

Re: [deal.II] using FEValues extractor for a

2016-12-14 Thread Wolfgang Bangerth
Anup, I am solving for a 3 dimensional displacement vector (*dim+1* dimensional) in a *dim=2* dimensional space (for a planer problem in elasticity). Hence I consider an FEvaluesExtractor: const FEValuesExtractors::Vector u_fe; and initialize it as u_fe(0) Now I need to compute the gradie

[deal.II] using FEValues extractor for a

2016-12-13 Thread Anup Basak
Hello all, I am solving for a 3 dimensional displacement vector (*dim+1* dimensional) in a *dim=2* dimensional space (for a planer problem in elasticity). Hence I consider an FEvaluesExtractor: const FEValuesExtractors::Vector u_fe; and initialize it as u_fe(0) Now I need to compute the g