Use of Field <Type> templates: how to use it
Hello to everyone,
I am dealing with an application, where I want to postProcess different fields, already specified. The process is the same for all of them, but the can be volScalarField, volVectorField... And I don't know how to do it in a loop. I have seen in some application, codes... tha they use this Field<Type>, and they do not specify directly yhe kind of field they have. They have a Templates.C file where they do all this job, but my C++ background in templates and so on is not so big. Somebody could explain me how this thing works? Thank you in advance Agustín |
All times are GMT -4. The time now is 14:19. |