The sinus radius function – right-hand-side and boundary condition for the Poisson problem with Neumann boundary condition
Float r = sqrt(sqr(x[0])+sqr(x[1])+sqr(x[2]));
return (
n == 2) ? 4 :
n*
n*
pow(r,
n-2);
}
};
Float r = sqrt(sqr(x[0])+sqr(x[1])+sqr(x[2]));
}
};