Re: [deal.II] Re: MGTransferGlobalCoarsening with Nedelec element

2023-11-15 Thread Ce Qin
Dear Peter, Thank you very much. I will look into that PR and try to understand it. Best, Ce Peter Munch 于2023年11月15日周三 20:12写道: > Hi Ce Qin, > > There is a WIP PR for adding a fallback path to MGTransferMF: > https://github.com/dealii/dealii/pull/12924. The PR is already 2 yea

[deal.II] MGTransferGlobalCoarsening with Nedelec element

2023-11-14 Thread Ce Qin
h the Nedelec element? Thanks in advance. Best regards, Ce Qin -- 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] Re: How to construct p::d::Triangulation from a locally refined Triangulation?

2021-02-09 Thread Ce Qin
> > I think that this is an artifact of the way you generate the output. You > are > writing the same file from all processors, and so in essence what you are > visualizing is the mesh written by the last processor that gets to write. > But > that includes ghost and artificial cells in the case of

Re: [deal.II] Re: How to construct p::d::Triangulation from a locally refined Triangulation?

2021-02-07 Thread Ce Qin
test with more complex cases. Best regards, Ce Ce Qin 于2021年2月7日周日 下午10:28写道: > Hi, Wolfgang! > > According to your suggestion, I wrote a simple program to copy a serial > Triangulation > to a p::d::Triangulation by looping over all levels and refine cells which > have children

Re: [deal.II] Re: How to construct p::d::Triangulation from a locally refined Triangulation?

2021-02-02 Thread Ce Qin
Thank you, Wolfgang. Definitely I want to give it a try. Will let you know when I make progress or encounter difficulties. Best regards, Ce Wolfgang Bangerth 于2021年2月3日周三 下午1:06写道: > On 2/2/21 7:57 PM, Ce Qin wrote: > > > > My use case can be described as follows > > 1) C

Re: [deal.II] Re: How to construct p::d::Triangulation from a locally refined Triangulation?

2021-02-02 Thread Ce Qin
Thank you for your prompt response. My use case can be described as follows 1) Create a triangulation in Python, refine some cells (several times) 2) Serialize the triangulation in to file using Triangulation::save 3) Load the triangulation from file using Triangulation::load 4) Reconstruct a para

[deal.II] How to construct p::d::Triangulation from a locally refined Triangulation?

2021-02-02 Thread Ce Qin
Dear all, I want to create a p::d::Triangulation from a locally refined Triangulation which is loaded from a file (for example, we can create a triangulation using the python interface, refine some cells, then save it to file). I am aware that we can't use copy_triangulation since the triangulatio

Re: [deal.II] How to generate the mesh to characterize discontinuities in a rectangular waveguide

2017-05-08 Thread Ce Qin
Another option: You can use FE_Nothing inside the obstacle, see Step-46 for more details. Best, Ce 2017-05-09 11:01 GMT+08:00 Jianan Zhang : > Hi all, > > I've been studying deal.ii for like a month and want to use it to > characterize discontinuities in a rectangular waveguide. So I am using >

Re: [deal.II] Re: How to shift a ConstraintMatrix that initialized with IndexSet?

2017-01-02 Thread Ce Qin
Dear Daniel, It works now. I made a mistake before. Thank you for your help. Best, Ce Qin 2017-01-02 23:35 GMT+08:00 Daniel Arndt : > Ce Qin, > > Removing the assertion works, but it will cause a problem. Since the >> ConstraintMatrix internally uses local_lines to determine the

Re: [deal.II] Re: How to shift a ConstraintMatrix that initialized with IndexSet?

2017-01-01 Thread Ce Qin
do it. Currently, I rebuild the whole ConstraintMatrix to implement the shift-and-merge procedure. It is not very efficient, but it just works. Best, Ce Qin 2016-12-31 18:53 GMT+08:00 Daniel Arndt : > Ce Qin, > > I don't immediately see a reason why shifting local_lines in > Constrai

Re: [deal.II] Re: How to shift a ConstraintMatrix that initialized with IndexSet?

2016-12-30 Thread Ce Qin
Hi Daniel, In the source of ConstraintMatrix::shift, there is an assertion that the local_lines must be empty. Please see ConstraintMatrix::shift <http://www.dealii.org/developer/doxygen/deal.II/constraint__matrix_8cc_source.html#l00592> . Best, Ce Qin 2016-12-30 23:34 GMT+08:00 Daniel

[deal.II] How to shift a ConstraintMatrix that initialized with IndexSet?

2016-12-29 Thread Ce Qin
provide some hints on how to implement it? Best regards, Ce Qin ​ -- 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 "de

Re: [deal.II] repartition of parallel::shared::Triangulation

2016-07-10 Thread Ce Qin
Dear Wolfgang, > Yes, indeed. Can you open a bug at > https://github.com/dealii/dealii/issues > for this? Any help in fixing this would of course be much appreciated! > > I have opened an issue at #2798 <https://github.com/dealii/dealii/issues/2798>. I will try to fix it.

[deal.II] repartition of parallel::shared::Triangulation

2016-07-10 Thread Ce Qin
virtual function *repartition* to its parent class parallel::Triangulation and reimplement it in shared::Triangulation. Does this make sense? If yes, I can help with this. Best regards, Ce Qin -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https

Re: [deal.II] Dealing with conflicting constraints

2016-07-05 Thread Ce Qin
preject_boundary_values_curl_conforming function, he may know more about it. Want to fix this in the code and the documentation? I would like to. I think I should make a comprehensive understanding first. Best regards, Ce Qin -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https

[deal.II] Dealing with conflicting constraints

2016-07-04 Thread Ce Qin
roup__constraints.html>. I was totally confused. Which one is right? Best regards, Ce Qin -- 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

[deal.II] Order of dofs of FE_Nedelec(0) in cell.

2016-05-29 Thread Ce Qin
ines in a cell. I want to know whether this assumption is valid. And is there a more general method? Thank you in advance. Best regards, Ce Qin -- 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 ---

Re: [deal.II] Is the reordering of DoF stable?

2016-05-26 Thread Ce Qin
allel distribution since DoFTools::get_subdomain_association running in a random way? Best regards, Ce Qin 2014-02-23 23:43 GMT+08:00 Francesco Cattoglio < francesco.cattog...@gmail.com>: > Thank you very much for confirmation, Timo! > > Have a nice Sunday, > Francesco > > Il gio

Re: [deal.II] Re: Hanging node constraints generate new nonzero locations in parallel.

2016-05-23 Thread Ce Qin
Dear Martin, It is clear now. Thank you very much. Best regards, Ce Qin 2016-05-23 16:14 GMT+08:00 Martin Kronbichler : > Dear Ce, > > It must have been coincidence that it worked. I guess it depends on the > data structures used by the PETSc matrices. If you were using deal.II &

Re: [deal.II] Re: Hanging node constraints generate new nonzero locations in parallel.

2016-05-23 Thread Ce Qin
Dear Martin, Yes, it works now. Could you please explain why it works in serial or with a small number of processes? Best regards, Ce Qin 2016-05-23 15:27 GMT+08:00 Martin Kronbichler : > Dear Ce, > > I faced a strange problem. With relatively few cells and non-conforming >>

[deal.II] Hanging node constraints generate new nonzero locations in parallel.

2016-05-22 Thread Ce Qin
triangulation. I wonder whether it is a bug or my fault. Can anybody provide some hints? The attached file is a minimal example to reproduce the problem. Please run with 4 or more processes. Best regards, Ce Qin -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options