I’m trying to reproduce a result from this post (considering fixes provided in answer by jeguyer). But when I try to run the exact same code I receive the following warning: And resulting array of X_ca all consists of -inf’s. Is there any way to fix it? Thank you in advance. Answer As noted in my answer to the question
Tag: fipy
FiPy: How to find node (vertex) at interface between two mesh
I’ve defined two meshes in FiPy via Gmsh and would like to find the nodes at the interface between the two mesh. Is there a way to do this in FiPy? I’d like to get all the nodes (or lines) at the interface between mesh m0 and m1. Answer FiPy has a function called nearest which gets the nearest values