Perfect! Thank you this was exactly what I was missing.
Amy
On Tuesday, October 1, 2019 at 3:18:20 PM UTC-6, Wolfgang Bangerth wrote:
>
>
> Amy,
>
> > template
> > class BoundaryValuesU : public Function{
> >public:
>
> You are correct: You need to tell the base class how many vector
Amy,
> template
> class BoundaryValuesU : public Function{
> public:
You are correct: You need to tell the base class how many vector components
your function has. You should be able to do this by adding a constructor:
BoundaryValuesU ()
: Function (dim)// your function has
Hi,
I'm attempting to apply a displacement boundary condition on a surface in
my problem. However, I would like the direction of the displacement of
each point on the surface to depend on its direction from some point (for
example the origin). Imagine a balloon inflating where the