Skip to content

Access the coordinates of an element and neighbor inside an interface kernel #21510

Answered by GiudGiud
ambehnam asked this question in Q&A General
Discussion options

You must be logged in to vote

hello

You may not access _coords directly from a Node.
As you may see on the doxygen
https://libmesh.github.io/doxygen/classlibMesh_1_1Node.html
and as the compiler tells you, it's protected.

You need to access using the () operator
https://libmesh.github.io/doxygen/classlibMesh_1_1Node.html#a3568df25f9c0db5decbcaa9d42420439

Guillaume

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@GiudGiud
Comment options

@jessecarterMOOSE
Comment options

@jessecarterMOOSE
Comment options

@GiudGiud
Comment options

@GiudGiud
Comment options

Answer selected by ambehnam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants