[deal.II] Re: Tensor with variable components

2016-09-02 Thread Jean-Paul Pelteret
Dear Benhour, I'm afraid that your question falls out of the scope of those suitable for the forum (please see this post ). It is too vague and abstract, and to be honest you could spend some time constructing a small case to work thi

[deal.II] Tensor with variable components

2016-09-02 Thread benhour . amirian66
Dear All, I have a question. I want to define a tensor with components like the below expression, where eta is a scalar function in cylindrical coordinate system. I defined this component in dealii like this: FE_Qfe const QGauss quadrature_formula(3)

[deal.II] Re: modify solution vector

2016-09-02 Thread Jean-Paul Pelteret
Hi Ilya, You should have a look at some of the previous discussions on the use of the cell->vertex_dof_index function; this provides an easy link between vertices and degrees of freedom. In summary, and assu

Re: [deal.II] modify solution vector

2016-09-02 Thread Wolfgang Bangerth
On 09/02/2016 06:07 AM, Bryukhanov Ilya wrote: I want to change the solution vector (for example displacement vector from step-8 and step-18) by the vector that depends on the point. I want to iterate over all vertexes and add to each solution component some value that is a function of the verte

[deal.II] modify solution vector

2016-09-02 Thread Bryukhanov Ilya
Hi, I want to change the solution vector (for example displacement vector from step-8 and step-18) by the vector that depends on the point. I want to iterate over all vertexes and add to each solution component some value that is a function of the vertex coordinate. How can I do it in dealii? B