Re: [deal.II] make hanging node constraint for locally refined mesh

2020-05-26 Thread Phạm Ngọc Kiên
Dear Prof. Wolfgang Bangerth, Thank you very much. I will change the codes as your guidance. Yours sincerely, Kien Vào Th 4, 27 thg 5, 2020 vào lúc 12:58 Wolfgang Bangerth < bange...@colostate.edu> đã viết: > On 5/26/20 7:30 PM, Phạm Ngọc Kiên wrote: > > > > Thus, the conforming FE_Nedelec

Re: [deal.II] make hanging node constraint for locally refined mesh

2020-05-26 Thread Wolfgang Bangerth
On 5/26/20 7:30 PM, Phạm Ngọc Kiên wrote: Thus, the conforming FE_Nedelec and FE_NedelecSZ can only work with the conforming mesh. The non-conforming mesh, which has hanging nodes, does not work with these elements. The FE_NedelecSZ element doesnt, but FE_Nedelec does work with hanging

Re: [deal.II] table.h errors

2020-05-26 Thread Jammi Ashok
Actually I cloned deal-ii from github. Day before yesterday. -- 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

Re: [deal.II] table.h errors

2020-05-26 Thread Jammi Ashok
Visual studio - 2017 and deal-ii-9.1.1. On Wed, May 27, 2020 at 2:13 AM Wolfgang Bangerth wrote: > On 5/26/20 12:52 AM, Jammi Ashok wrote: > > I am getting error in the following lines in "table.h". > > > > // Make the underlying iterator class a friend. > > 958 friend class LinearIndexIterator

Re: [deal.II] make hanging node constraint for locally refined mesh

2020-05-26 Thread Phạm Ngọc Kiên
Dear Prof. Wolfgang Bangerth, I used FE_NedelecSZ element. Thus, the conforming FE_Nedelec and FE_NedelecSZ can only work with the conforming mesh. The non-conforming mesh, which has hanging nodes, does not work with these elements. Thank you very much. Yours sincerely, Kien Vào Th 4, 27 thg

[deal.II] Re: Can dealii handle different type of element in a grid

2020-05-26 Thread 徐辉
Thanks sir, I will have a look at the tutorial you listed. Thank you for you all's time. -- 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

Re: [deal.II] table.h errors

2020-05-26 Thread Wolfgang Bangerth
On 5/26/20 12:52 AM, Jammi Ashok wrote: I am getting error in the following lines in "table.h". // Make the underlying iterator class a friend. 958 friend class LinearIndexIterator

Re: [deal.II] make hanging node constraint for locally refined mesh

2020-05-26 Thread Wolfgang Bangerth
On 5/26/20 1:34 AM, Phạm Ngọc Kiên wrote: /*  const dealii::FullMatrix& dealii::FiniteElement<, >::constraints(const dealii::internal::SubfaceCase&) const [with int dim = 3; int spacedim = 3] The violated condition was:     (this->dofs_per_face == 0) || (interface_constraints.m() != 0)

Re: [deal.II] vertex and dofcells

2020-05-26 Thread Jean-Paul Pelteret
Dear Alberto, Quick answer: There’s a entry in the FAQ that may answer your question: https://github.com/dealii/dealii/wiki/Frequently-Asked-Questions#how-do-i-get-the-degree-of-freedom-indices-at-vertices

[deal.II] vertex and dofcells

2020-05-26 Thread Alberto Salvadori
Dear community, this looks a simple question but I just cannot find a simple answer, I apologize. The code I aim at writing is similar to: *unsigned* vv = 0 ; *for* (*unsigned* *int* ii=0; ii this_node = cell->vertex(vv) ; [ ... omitted

Re: [deal.II] Can dealii handle different type of element in a grid

2020-05-26 Thread Wolfgang Bangerth
On 5/26/20 8:13 AM, 徐辉 wrote: Or another example in 2D, I have some some one order quadrilateral element and some two order quadrilateral element. Or, if you mean the polynomial degree, you want to use the hp framework -- see step-27 and step-46. Best W. --

[deal.II] Re: Can dealii handle different type of element in a grid

2020-05-26 Thread Bruno Turcksin
Hi, deal.II only supports quads in 2D and hex in 3D.So if you have triangles you will need to split them. For the quads, you probably want to load order one quads and then, use a manifold to get the higher order. step 49 (https://dealii.org/current/doxygen/deal.II/step_49.html) shows how to

[deal.II] Can dealii handle different type of element in a grid

2020-05-26 Thread 徐辉
I want using different type of element in a grid in dealii. I already have a grid, I want solve problem based on this grid. The grid contain different type of element. For example in 2D, I have some one order triangle element and some one order quadrilateral element. Or another example in

Re: [deal.II] Blog post about how we develop deal.II

2020-05-26 Thread Thomas WICK
Hi Wolfgang, Am 26.05.20 um 04:52 schrieb Wolfgang Bangerth: Well, not really about how *we* develop deal.II -- but at least about my approach in general to developing software: https://bssw.io/blog_posts/making-myself-better-what-craftspeople-can-teach-us-about-software I think that what

[deal.II] make hanging node constraint for locally refined mesh

2020-05-26 Thread Phạm Ngọc Kiên
Dear all, When I try to create a locally refined mesh by the following codes: * GridGenerator::hyper_cube(triangulation, 0, 1);Point center (0.5, 0.5, 0.5);triangulation.refine_global(5); for (auto cell : triangulation.active_cell_iterators()) {

[deal.II] table.h errors

2020-05-26 Thread Jammi Ashok
Dear sir, I am getting error in the following lines in "table.h". // Make the underlying iterator class a friend. 958 friend class LinearIndexIterator < 959 Iterator