Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lukas Werner
waLBerla
Commits
a787d527
Commit
a787d527
authored
Jan 23, 2018
by
Lukas Werner
Browse files
Raytracer in confinedgas uses a config object
parent
e383c486
Pipeline
#6887
failed with stage
in 71 minutes and 2 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
apps/tutorials/pe/01_ConfinedGas.cpp
View file @
a787d527
...
...
@@ -132,7 +132,10 @@ int main( int argc, char ** argv )
//! [AdditionalBlockData]
WALBERLA_LOG_INFO_ON_ROOT
(
"*** RAYTRACER ***"
);
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"
));
WALBERLA_LOG_INFO_ON_ROOT
(
"*** INTEGRATOR ***"
);
//! [Integrator]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment