From cc23aa12e57670d82d119a5c60b3d2f6d929037e Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Wed, 3 Sep 2014 19:44:03 +0000 Subject: [PATCH] Remove old boundary values function [[Imported from SVN: r9879]] --- cosserat-continuum.cc | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/cosserat-continuum.cc b/cosserat-continuum.cc index 00faf64c..eda1910e 100644 --- a/cosserat-continuum.cc +++ b/cosserat-continuum.cc @@ -50,29 +50,6 @@ const int blocksize = TargetSpace::TangentVector::dimension; using namespace Dune; -// Dirichlet boundary data for the shear/wrinkling example -class WrinklingDirichletValues -: public Dune::VirtualFunction<FieldVector<double,dim>, FieldVector<double,3> > -{ - FieldVector<double,2> upper_; - double homotopy_; -public: - WrinklingDirichletValues(FieldVector<double,2> upper, double homotopy) - : upper_(upper), homotopy_(homotopy) - {} - - void evaluate(const FieldVector<double,dim>& in, FieldVector<double,3>& out) const - { - out = 0; - for (int i=0; i<dim; i++) - out[i] = in[i]; - - // if (out[1] > 1-1e-3) - if (out[1] > upper_[1]-1e-4) - out[0] += 0.003*homotopy_; - } -}; - class WongPellegrinoDirichletValuesPythonWriter { FieldVector<double,2> upper_; -- GitLab