Hello,

I also tried to do the same using the 
GridGenerator::replicate_triangulation(triangulation1,{2},triangulation2) 
function. This should result in a triangulation (triangulation1) to be 
repeated in the three-coordinate axis two times. However, it results in the 
same error.
Please note that the triangulations are with dim=1 and spacedim=2. 

I am not sure where things are going wrong. Could someone help me with this?

Thanks
Vinayak
On Thursday, November 16, 2023 at 10:05:11 AM UTC+1 Vinayak Vijay wrote:

> 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/
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/a9aaa852-3ad8-40c7-a0db-87d339c37cb2n%40googlegroups.com.

Reply via email to