List of Objects
Hello there,
i'm wondering about some "types" in Foam. say I have a class foo Code:
class foo First Idea: in my BC i define a list an do a loop over the list Code:
static foam::List<foo> fooList 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? Best Regards, Jim |
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 06:11. |