List of Objects
i'm wondering about some "types" in Foam.
say I have a class foo
in my BC i define a list an do a loop over the list
In terms of basic c++ I would use a std::vector<foo> fooList, but this does not feel right for FOAM.
Anyone got an idea?
A PtrList would be suitable. Also, it can't be static because you need to know the mesh size.
|All times are GMT -4. The time now is 04:03.|