Home | History | Annotate | Download | only in special_examples

Lines Matching defs:boundary

9                        Eigen::VectorXd& b, const Eigen::VectorXd& boundary)
11 int n = int(boundary.size());
14 if(i==-1 || i==n) b(id) -= w * boundary(j); // constrained coefficient
15 else if(j==-1 || j==n) b(id) -= w * boundary(i); // constrained coefficient
22 Eigen::ArrayXd boundary = Eigen::ArrayXd::LinSpaced(n, 0,M_PI).sin().pow(2);
28 insertCoefficient(id, i-1,j, -1, coefficients, b, boundary);
29 insertCoefficient(id, i+1,j, -1, coefficients, b, boundary);
30 insertCoefficient(id, i,j-1, -1, coefficients, b, boundary);
31 insertCoefficient(id, i,j+1, -1, coefficients, b, boundary);
32 insertCoefficient(id, i,j, 4, coefficients, b, boundary);