Dear all,

When applying a Dirichlet boundary condition, is there a way to get a
function that always returns a constant vector? For example, for var list
of {0, 1, 2} we always return {2.3, 2.9, 3.5} for the three degrees of
freedom at each node? It's just a function wrapper of:

  DenseVector<Number> cv(3);
  cv(0) = 2.3;
  cv(1) = 2.9;
  cv(2) = 3.5;

If such a function would be helpful, we can help commit one.

Thanks!

Shawn

_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to