From: Yuxiang W. <yw...@vi...> - 2019-03-02 04:32:52
|
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 |