value by phi_f (the scalar’svalue at the face) to get the ‘‘complete’’ advective term....
The list of objects to render (or tree, whatever term you prefer), if you notice, is actually a collection ofstd::shared_ptr<T>types. In some cases, using a shared pointer can make a lot of sense. For example if two different objects have the same texture or material. If you update...