Re: [deal.II] Using interpolate_boundary_conditions

2019-10-01 Thread Amy Kaczmarowski
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

Re: [deal.II] Using interpolate_boundary_conditions

2019-10-01 Thread Wolfgang Bangerth
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

[deal.II] Using interpolate_boundary_conditions

2019-09-30 Thread Amy Kaczmarowski
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