Reply To: How to access the basic values?
Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.
› Forums › OpenLB › General Topics › How to access the basic values? › Reply To: How to access the basic values?
March 5, 2024 at 11:56 pm
#8379
Adrian
Keymaster
You can access the physical location of each discrete lattice location using the CuboidGeometry::getPhysR method. If you need this in the described matrix format you can generate it using this information by e.g. assigning a globally unique cell ID as a combination of global cuboid index and block-local cell ID (obtainable via BlockStructure::getCellId).
