class MySquareFunction : public Function<dim>
{
public:
+ MySquareFunction () : Function<dim> () {}
+
virtual double value (const Point<dim> &p,
const unsigned int component) const
{ return (component+1)*p.square()+1; }
class MyExpFunction : public Function<dim>
{
public:
+ MyExpFunction () : Function<dim> () {}
+
virtual double value (const Point<dim> &p,
const unsigned int component) const
{ return std::exp (p(0)); }
class MySquareFunction : public Function<dim>
{
public:
+ MySquareFunction () : Function<dim> () {}
+
virtual double value (const Point<dim> &p,
const unsigned int component) const
{ return (component+1)*p.square()+1; }
class MyExpFunction : public Function<dim>
{
public:
+ MyExpFunction () : Function<dim> () {}
+
virtual double value (const Point<dim> &p,
const unsigned int component) const
{ return std::exp (p(0)); }
class MySquareFunction : public Function<dim>
{
public:
+ MySquareFunction () : Function<dim> () {}
+
virtual double value (const Point<dim> &p,
const unsigned int component) const
{ return (component+1)*p.square()+1; }
class MyExpFunction : public Function<dim>
{
public:
+ MyExpFunction () : Function<dim> () {}
+
virtual double value (const Point<dim> &p,
const unsigned int component) const
{ return std::exp (p(0)); }
class MySquareFunction : public Function<dim>
{
public:
+ MySquareFunction () : Function<dim> () {}
+
virtual double value (const Point<dim> &p,
const unsigned int component) const
{ return (component+1)*p.square()+1; }
class MyExpFunction : public Function<dim>
{
public:
+ MyExpFunction () : Function<dim> () {}
+
virtual double value (const Point<dim> &p,
const unsigned int component) const
{ return std::exp (p(0)); }