Skip to content
Snippets Groups Projects
Commit cc23aa12 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Remove old boundary values function

[[Imported from SVN: r9879]]
parent 9ad6f95c
No related branches found
No related tags found
No related merge requests found
......@@ -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_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment