Customized domain size

80 views
Skip to first unread message

Boqiao HUANG

unread,
May 10, 2025, 11:27:35 AMMay 10
to basilisk-fr
Dear all,

I am working on examples/rising.c and I am trying to activate the adaptive mesh refinement using quadtree.h. However I encountered several problems :

1) I noticed that the non-square/cubic domain is only possible when using multigrid.h. However, if I use multigrid.h and quadtree.h at the same time, the following errors will occur :
error: redefinition of ‘struct _Point’
error: ‘ig’ undeclared (first use in this function)
error: ‘jg’ undeclared (first use in this function); did you mean ‘jn’?
error: ‘Point’ {aka ‘struct _Point’} has no member named ‘n’
2) I noticed that we can scale dimensions using multigrid.h, but how can we make a domain with more complex geometry (for example an irregular-shaped domain) ? Can we import from external files ?

Please let me know if you thhink the questions are not specific enough.

Thank you for your help !

Reply all
Reply to author
Forward
0 new messages