Default grid system

115 views
Skip to first unread message

Hiroumi Tani

unread,
Aug 7, 2016, 10:34:04 PM8/7/16
to basilisk-fr

Dear all,

I just started using Basilisk. I aim to understand the process of compiling source codes because I want to implement new schemes and equations in the near future. Currently, I succeeded running the test case of “explosion.c” that is listed in “test” directory. However, I have a very simple question with this case.

It seems that no grid system is specified in explosion.c. When I ran this case with the simple command of “make explosion.tst”, the 2D calculation, probably with 2D multigrid?, was conducted. What files or compile options determined the default grid system as 2D?

I could do 3D calculation when I typed ”make explosion.3D.tst” or wrote “#include "grid/octree.h"” in explosion.c.

Thank you very much for developing the great open code!
Hiroumi Tani

Robson Nazareth

unread,
Aug 8, 2016, 8:56:43 AM8/8/16
to basilisk-fr
Dear Hiroumi,


Cheers,
Robson

Hiroumi Tani

unread,
Aug 8, 2016, 8:35:01 PM8/8/16
to basilisk-fr
Hello Robson,

I read the Q&A. But, how is quadtree.h compiled by default, that is with no compile option?
Probably, the rule of compilation according to the compile options is written in qcc.c I cannot understand what parts of qcc.c determine the quadtree as default.

Thanks,
Hiroumi
Reply all
Reply to author
Forward
0 new messages