// abf_approximation_01.cc,v 1.3 2003/06/09 16:00:38 wolf Exp
// Version:
//
-// Copyright (C) 2003, 2005, 2006 by the deal.II authors
+// Copyright (C) 2003, 2005, 2006, 2007 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
public:
TestMap1 (const unsigned int n_components) :
Function<dim> (n_components)
- {};
+ {}
- virtual ~TestMap1 () {};
+ virtual ~TestMap1 () {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
TestDef1 (const unsigned int n_components, const double ph) :
Function<dim> (n_components),
phi (ph)
- {};
+ {}
- virtual ~TestDef1 () {};
+ virtual ~TestDef1 () {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
TestDef2 (const unsigned int n_components, const double sc) :
Function<dim> (n_components),
scale (sc)
- {};
+ {}
- virtual ~TestDef2 () {};
+ virtual ~TestDef2 () {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
TestDef3 (const unsigned int n_components, const double sc) :
Function<dim> (n_components),
scale (sc)
- {};
+ {}
- virtual ~TestDef3 () {};
+ virtual ~TestDef3 () {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
}
polys.push_back (Polynomials::Polynomial<double> (coeff));
}
- };
+ }
- virtual ~TestPoly () {};
+ virtual ~TestPoly () {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
// $Id$
// Version: $Name$
//
-// Copyright (C) 2005, 2006 by the deal.II authors
+// Copyright (C) 2005, 2006, 2007 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
template <class Traits, int dim>
struct SetUp : public SetUpBase<dim>
{
- SetUp () {};
+ SetUp () {}
virtual
const Function<dim> & get_boundary_values () const;
class BoundaryValues : public Function<dim>
{
public:
- BoundaryValues () : Function<dim> () {};
+ BoundaryValues () : Function<dim> () {}
virtual double value (const Point<dim> &p,
const unsigned int component) const;
class RightHandSide : public Function<dim>
{
public:
- RightHandSide () : Function<dim> () {};
+ RightHandSide () : Function<dim> () {}
virtual double value (const Point<dim> &p,
const unsigned int component) const;
class RightHandSide : public ConstantFunction<dim>
{
public:
- RightHandSide () : ConstantFunction<dim> (1.) {};
+ RightHandSide () : ConstantFunction<dim> (1.) {}
};
static
// $Id$
// Version: $Name$
//
-// Copyright (C) 2005, 2006 by the deal.II authors
+// Copyright (C) 2005, 2006, 2007 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
class InitializationValues : public Function<1>
{
public:
- InitializationValues () : Function<1>() {};
+ InitializationValues () : Function<1>() {}
virtual double value (const Point<1> &p,
const unsigned int component = 0) const;
class RightHandSide : public Function<dim>
{
public:
- RightHandSide () : Function<dim> () {};
+ RightHandSide () : Function<dim> () {}
virtual double value (const Point<dim> &p,
const unsigned int component) const;
// rt_distorted_01.cc,v 1.3 2003/06/09 16:00:38 wolf Exp
// Version:
//
-// Copyright (C) 2003, 2005, 2006 by the deal.II authors
+// Copyright (C) 2003, 2005, 2006, 2007 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
public:
TestMap1 (const unsigned int n_components) :
Function<dim> (n_components)
- {};
+ {}
- virtual ~TestMap1 () {};
+ virtual ~TestMap1 () {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
TestDef1 (const unsigned int n_components, const double ph) :
Function<dim> (n_components),
phi (ph)
- {};
+ {}
- virtual ~TestDef1 () {};
+ virtual ~TestDef1 () {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
TestDef2 (const unsigned int n_components, const double sc) :
Function<dim> (n_components),
scale (sc)
- {};
+ {}
- virtual ~TestDef2 () {};
+ virtual ~TestDef2 () {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
TestDef3 (const unsigned int n_components, const double sc) :
Function<dim> (n_components),
scale (sc)
- {};
+ {}
- virtual ~TestDef3 () {};
+ virtual ~TestDef3 () {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
// rt_distorted_02.cc,v 1.3 2003/06/09 16:00:38 wolf Exp
// Version:
//
-// Copyright (C) 2003, 2005, 2006 by the deal.II authors
+// Copyright (C) 2003, 2005, 2006, 2007 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
public:
TestMap1 (const unsigned int n_components) :
Function<dim> (n_components)
- {};
+ {}
- virtual ~TestMap1 () {};
+ virtual ~TestMap1 () {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
TestDef1 (const unsigned int n_components, const double ph) :
Function<dim> (n_components),
phi (ph)
- {};
+ {}
- virtual ~TestDef1 () {};
+ virtual ~TestDef1 () {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
TestDef2 (const unsigned int n_components, const double sc) :
Function<dim> (n_components),
scale (sc)
- {};
+ {}
- virtual ~TestDef2 () {};
+ virtual ~TestDef2 () {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
TestDef3 (const unsigned int n_components, const double sc) :
Function<dim> (n_components),
scale (sc)
- {};
+ {}
- virtual ~TestDef3 () {};
+ virtual ~TestDef3 () {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
class MySquareFunction : public Function<dim>
{
public:
- MySquareFunction () : Function<dim>(dim) {};
+ MySquareFunction () : Function<dim>(dim) {}
virtual double value (const Point<dim> &p,
const unsigned int component) const
- { return (component+1)*p.square(); };
+ { return (component+1)*p.square(); }
virtual void vector_value (const Point<dim> &p,
Vector<double> &values) const
{
for (unsigned int d=0; d<dim; ++d)
values(d) = value(p,d);
- };
+ }
};
class MySquareFunction : public Function<dim>
{
public:
- MySquareFunction () : Function<dim>(dim) {};
+ MySquareFunction () : Function<dim>(dim) {}
virtual double value (const Point<dim> &p,
const unsigned int component) const
- { return (component+1)*p.square(); };
+ { return (component+1)*p.square(); }
virtual void vector_value (const Point<dim> &p,
Vector<double> &values) const
{
for (unsigned int d=0; d<dim; ++d)
values(d) = value(p,d);
- };
+ }
};
class MySquareFunction : public Function<dim>
{
public:
- MySquareFunction () : Function<dim>(2) {};
+ MySquareFunction () : Function<dim>(2) {}
virtual double value (const Point<dim> &p,
const unsigned int component) const
- { return (component+1)*p.square(); };
+ { return (component+1)*p.square(); }
virtual void vector_value (const Point<dim> &p,
Vector<double> &values) const
{ values(0) = value(p,0);
- values(1) = value(p,1); };
+ values(1) = value(p,1); }
};
class MySquareFunction : public Function<dim>
{
public:
- MySquareFunction () : Function<dim>(2) {};
+ MySquareFunction () : Function<dim>(2) {}
virtual double value (const Point<dim> &p,
const unsigned int component) const
- { return (component+1)*p.square(); };
+ { return (component+1)*p.square(); }
virtual void vector_value (const Point<dim> &p,
Vector<double> &values) const
{ values(0) = value(p,0);
- values(1) = value(p,1); };
+ values(1) = value(p,1); }
};
// $Id$
// Version: $Name$
//
-// Copyright (C) 2005, 2006 by the deal.II authors
+// Copyright (C) 2005, 2006, 2007 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
class Solution : public Function<dim>
{
public:
- Solution () : Function<dim> () {};
+ Solution () : Function<dim> () {}
virtual double value (const Point<dim> &p,
const unsigned int component) const;
class RightHandSide : public Function<dim>
{
public:
- RightHandSide () : Function<dim> () {};
+ RightHandSide () : Function<dim> () {}
virtual double value (const Point<dim> &p,
const unsigned int component) const;
// $Id$
// Version: $Name$
//
-// Copyright (C) 2005, 2006 by the deal.II authors
+// Copyright (C) 2005, 2006, 2007 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
class Coefficient : public Function<dim>
{
public:
- Coefficient () : Function<dim>() {};
+ Coefficient () : Function<dim>() {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
// $Id$
// Version: $Name$
//
-// Copyright (C) 2005, 2006 by the deal.II authors
+// Copyright (C) 2005, 2006, 2007 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
protected SolutionBase<dim>
{
public:
- Solution () : Function<dim>() {};
+ Solution () : Function<dim>() {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
protected SolutionBase<dim>
{
public:
- RightHandSide () : Function<dim>() {};
+ RightHandSide () : Function<dim>() {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
// $Id$
// Version: $Name$
//
-// Copyright (C) 2005, 2006 by the deal.II authors
+// Copyright (C) 2005, 2006, 2007 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
class AdvectionField : public TensorFunction<1,dim>
{
public:
- AdvectionField () : TensorFunction<1,dim> () {};
+ AdvectionField () : TensorFunction<1,dim> () {}
virtual Tensor<1,dim> value (const Point<dim> &p) const;
class RightHandSide : public Function<dim>
{
public:
- RightHandSide () : Function<dim>() {};
+ RightHandSide () : Function<dim>() {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
class BoundaryValues : public Function<dim>
{
public:
- BoundaryValues () : Function<dim>() {};
+ BoundaryValues () : Function<dim>() {}
virtual double value (const Point<dim> &p,
const unsigned int component = 0) const;
class MySquareFunction : public Function<dim>
{
public:
- MySquareFunction () : Function<dim>(2) {};
+ MySquareFunction () : Function<dim>(2) {}
virtual double value (const Point<dim> &p,
const unsigned int component) const
- { return (component+1)*p.square(); };
+ { return (component+1)*p.square(); }
virtual void vector_value (const Point<dim> &p,
Vector<double> &values) const
{ values(0) = value(p,0);
- values(1) = value(p,1); };
+ values(1) = value(p,1); }
};
class MySquareFunction : public Function<dim>
{
public:
- MySquareFunction () : Function<dim>(dim) {};
+ MySquareFunction () : Function<dim>(dim) {}
virtual double value (const Point<dim> &p,
const unsigned int component) const
- { return (component+1)*p.square(); };
+ { return (component+1)*p.square(); }
virtual void vector_value (const Point<dim> &p,
Vector<double> &values) const
{
for (unsigned int d=0; d<dim; ++d)
values(d) = value(p,d);
- };
+ }
};
class MySquareFunction : public Function<dim>
{
public:
- MySquareFunction () : Function<dim>(1) {};
+ MySquareFunction () : Function<dim>(1) {}
virtual double value (const Point<dim> &p,
const unsigned int component) const
- { return (component+1)*p.square(); };
+ { return (component+1)*p.square(); }
virtual void vector_value (const Point<dim> &p,
Vector<double> &values) const
- { values(0) = value(p,0); };
+ { values(0) = value(p,0); }
};
class MySquareFunction : public Function<dim>
{
public:
- MySquareFunction () : Function<dim>(2) {};
+ MySquareFunction () : Function<dim>(2) {}
virtual double value (const Point<dim> &p,
const unsigned int component) const
- { return (component+1)*p.square(); };
+ { return (component+1)*p.square(); }
virtual void vector_value (const Point<dim> &p,
Vector<double> &values) const
{ values(0) = value(p,0);
- values(1) = value(p,1); };
+ values(1) = value(p,1); }
};
class MySquareFunction : public Function<dim>
{
public:
- MySquareFunction () : Function<dim>(1) {};
+ MySquareFunction () : Function<dim>(1) {}
virtual double value (const Point<dim> &p,
const unsigned int component) const
- { return (component+1)*p.square(); };
+ { return (component+1)*p.square(); }
virtual void vector_value (const Point<dim> &p,
Vector<double> &values) const
- { values(0) = value(p,0); };
+ { values(0) = value(p,0); }
};
class MySquareFunction : public Function<dim>
{
public:
- MySquareFunction () : Function<dim>(2) {};
+ MySquareFunction () : Function<dim>(2) {}
virtual double value (const Point<dim> &p,
const unsigned int component) const
- { return (component+1)*p.square(); };
+ { return (component+1)*p.square(); }
virtual void vector_value (const Point<dim> &p,
Vector<double> &values) const
{ values(0) = value(p,0);
- values(1) = value(p,1); };
+ values(1) = value(p,1); }
};
class MySquareFunction : public Function<dim>
{
public:
- MySquareFunction () : Function<dim>(dim) {};
+ MySquareFunction () : Function<dim>(dim) {}
virtual double value (const Point<dim> &p,
const unsigned int component) const
- { return (component+1)*p.square(); };
+ { return (component+1)*p.square(); }
virtual void vector_value (const Point<dim> &p,
Vector<double> &values) const
{
for (unsigned int d=0; d<dim; ++d)
values(d) = value(p,d);
- };
+ }
};
class MySquareFunction : public Function<dim>
{
public:
- MySquareFunction () : Function<dim>(1) {};
+ MySquareFunction () : Function<dim>(1) {}
virtual double value (const Point<dim> &p,
const unsigned int component) const
- { return (component+1)*p.square(); };
+ { return (component+1)*p.square(); }
virtual void vector_value (const Point<dim> &p,
Vector<double> &values) const
- { values(0) = value(p,0); };
+ { values(0) = value(p,0); }
};
class MySquareFunction : public Function<dim>
{
public:
- MySquareFunction () : Function<dim>(2) {};
+ MySquareFunction () : Function<dim>(2) {}
virtual double value (const Point<dim> &p,
const unsigned int component) const
- { return (component+1)*p.square(); };
+ { return (component+1)*p.square(); }
virtual void vector_value (const Point<dim> &p,
Vector<double> &values) const
{ values(0) = value(p,0);
- values(1) = value(p,1); };
+ values(1) = value(p,1); }
};
class MySquareFunction : public Function<dim>
{
public:
- MySquareFunction () : Function<dim>(1) {};
+ MySquareFunction () : Function<dim>(1) {}
virtual double value (const Point<dim> &p,
const unsigned int component) const
- { return (component+1)*p.square(); };
+ { return (component+1)*p.square(); }
virtual void vector_value (const Point<dim> &p,
Vector<double> &values) const
- { values(0) = value(p,0); };
+ { values(0) = value(p,0); }
};