General Question regarding the pointer implementation in openFoam and the "best practice". When I dynamically construct an object I "put" its address into a autoPtr (e.g. how the turbulence model is handled). But when I want to access a field e.g. the U field in a class by looking it up via the mesh refrence what pointer class should I use? So far refPtr has worked for me but no clue if thats the right approach. And what is the point of the tmp Class. Is that just for clarity in the code because shouldnt the autoPtr etc. also delete the object they are pointing towards when going out of scope? Any Insight from a more experienced programmer would be very much appreciated 😄