* values. Therefore, every thread should obtain its own object of
* derived classes.
*
+ * @ingroup functions
* @author Guido Kanschat, 2007
*/
template <int dim>
* #Reynolds number is used to scale the pressure properly for a
* Navier-Stokes problem.
*
+ * @ingroup functions
* @author Guido Kanschat, 2007
*/
template <int dim>
*
* Taken from Houston, Schötzau, Wihler, proceeding ENUMATH 2003.
*
+ * @ingroup functions
* @author Guido Kanschat, 2007
*/
class StokesLSingularity : public FlowFunction<2>
values[0][k] = std::pow(r2,lambda/2.)
* ((1.+lambda) * std::sin(phi) * Psi(phi)
+ std::cos(phi) * Psi_1(phi));
- values[1][k] = std::pow(r2,lambda/2.)
+ values[1][k] = -std::pow(r2,lambda/2.)
* (std::sin(phi) * Psi_1(phi)
-(1.+lambda) * std::cos(phi) * Psi(phi));
values[2][k] = -std::pow(r2,lambda/2.-.5)
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams