Re: [deal.II] Map from dof index to vertex index

2021-07-19 Thread Wolfgang Bangerth
On 7/17/21 6:39 AM, Kaushik Das wrote: I am assuming that the ordering/sequence of dofs that we get from cell->get_dof_indices() will always be the same as the ordering/sequence of vertexes in a cell, that is the 'canonical' ordering given in GeometryInfo. Will that be true for linear hex Q1 el

Re: [deal.II] Writing outputs of type tensor in cells

2021-07-19 Thread Wolfgang Bangerth
On 7/16/21 1:39 PM, shahab.g...@gmail.com wrote: I have a parameter of type Tensor<1, dim> for each active cell in the triangulation. When I write this parameter as output, I face some difficulties: 1, Vectors in deal.II do not accept tensor elements. 2, add_data_vector does not work for std::

Re: [deal.II] Looping over cells and faces: MeshWorker vs WorkStream

2021-07-19 Thread Corbin Foucart
I'm writing a similar code to Praveen, and had some additional questions, having looked at the documentation for mesh_loop as well as step-47, step-51, and the code gallery entry for the second-order LDG solver. For a scheme that has a mixed-formulation element-local system (Q,U) as does the LD

Re: [deal.II] Assembling explicit advection term independently

2021-07-19 Thread Corbin Foucart
> That would be fantastic! There are some good resources linked to from > here, if > you're unsure about the process: > https://dealii.org/participate.html I'm ready to start working on this. I've read the participation FAQ, forked the repo, etc. This might be a basic question, but how shou

Re: [deal.II] Assembling explicit advection term independently

2021-07-19 Thread Wolfgang Bangerth
On 7/19/21 1:56 PM, Corbin Foucart wrote:

Re: [deal.II] Looping over cells and faces: MeshWorker vs WorkStream

2021-07-19 Thread Wolfgang Bangerth
On 7/19/21 1:50 PM, Corbin Foucart wrote: * It seems that since cell interior data (A inverse) is needed to premultiply the B operator (which contains face terms), it makes more sense to loop over each cell and handle the faces of the cell manually, like in step-51, which performs a