Hi, I am trying to use libMesh::System::point_value(unsigned int var, const Point &p, const Elem &e) const to get the value of a point. Before this function, I used a point locator to locate the element that the point is in. However, when running the program, I found in this point_value function, there is another point locator called before computing the point value. It is strange because the code of this point_value() function do not have anything about point locator. Can anyone tell me how to solve this? Thanks.
Point p(1.5, 0.2, 0); const Elem *e = (*locator)(p); float A[3]; A[0] = asys->point_value(Ax_var, p, e); A[1] = asys->point_value(Ay_var, p, e); A[2] = asys->point_value(Az_var, p, e); ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users