Skip to content
Snippets Groups Projects
Commit cffc4651 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing example compilation

parent 18e8cce2
No related branches found
No related tags found
No related merge requests found
Pipeline #2903 passed
......@@ -83,7 +83,7 @@ void init(sgrid_type & grid, Box<3,double> & domain)
vp.get(1) = pc.get(2)*u.get(0) - pc.get(0)*u.get(2);
vp.get(2) = pc.get(0)*u.get(1) - pc.get(1)*u.get(0);
double distance = vp.norm() / sqrt(3);
double distance = vp.norm() / sqrt(3.0f);
// Check if the point is in the domain
if (sph1.isInside(pc) || sph2.isInside(pc) || sph3.isInside(pc) || (distance < 0.1 && channel_box.isInside(pc)) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment