Commit a787d527 authored by Lukas Werner's avatar Lukas Werner
Browse files

Raytracer in confinedgas uses a config object

parent e383c486
Pipeline #6887 failed with stage
in 71 minutes and 2 seconds
......@@ -132,7 +132,10 @@ int main( int argc, char ** argv )
//! [AdditionalBlockData]
Raytracer raytracer(forest, storageID, uint8_t(640), uint8_t(480), 49.13, Vec3(-25,10,10), Vec3(-1,10,10), Vec3(0,0,1));
if (cfg == NULL) {
WALBERLA_ABORT("raytracer needs a working config");
Raytracer raytracer(forest, storageID, cfg->getBlock("raytracing"));
//! [Integrator]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment