Vinayak,
apologies for taking so long -- I guess this fell in a category where everyone looks at the error and doesn't think that they have the knowledge to say what the problem is.

I took a look yesterday and figured out what is going wrong. The fix is in https://github.com/dealii/dealii/pull/16345 and is already in mainline. I confirmed that your test now works, as well as the second test with replicate_triangulation.

Best
 W.


On 11/16/23 02:05, Vinayak Vijay wrote:
*** Caution: EXTERNAL Sender ***

Hello,

I am trying to merge two triangulations into a single one. However, I am getting the following error:

An error occurred in line <11736> of file </tmp/vinayak/spack-stage/spack-stage-dealii-9.4.2-4haiezd5dty7b537inhxmeebwxllx4gs/spack-src/source/grid/tria.cc> in function     void dealii::Triangulation<<anonymous>, <anonymous> >::create_triangulation(const std::vector<dealii::Point<spacedim> >&, const std::vector<dealii::CellData<dim> >&, const dealii::SubCellData&) [with int dim = 1; int spacedim = 3]
The violated condition was:
     !(correct(i, j) ^ (neighbor->direction_flag() == 
(*cell)->direction_flag()))
Additional information:
     (none)

I am using the dealii 9.4.0 version.

I have attached the two triangulations that need to be merged and the .cc file to reproduce the error.
Can someone help me with this?

Thanks
Vinayak

--
The deal.II project is located at http://www.dealii.org/ <http://www.dealii.org/> For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en <https://groups.google.com/d/forum/dealii?hl=en>
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com <mailto:dealii+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/b1383a90-2c59-4245-b7df-adc8371ff638n%40googlegroups.com <https://groups.google.com/d/msgid/dealii/b1383a90-2c59-4245-b7df-adc8371ff638n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/


--
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 User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/82d7d90e-fc20-5152-77ad-7730dca4cfbc%40colostate.edu.

Reply via email to