The sinus product function – right-hand-side and boundary condition for the Poisson problem with Neumann boundary condition
};
case 0: return 0;
case 2:
return -
pi*(sin(
pi*x[0]) + sin(
pi*x[1]));
default:
return -
pi*( sin(
pi*x[0])*sin(
pi*x[1])
+ sin(
pi*x[1])*sin(
pi*x[2])
+ sin(
pi*x[2])*sin(
pi*x[0]));
}
}
};
see the Float page for the full documentation
see the point page for the full documentation
The sinus product function.
point operator()(const point &x) const
point operator()(const point &x) const