Create a Vectorfield
I am a beginner ;) I want to create a new VolVectorField in createfields.H. I want to set all x components to components from another VolVectorField and so on. Until now i wrote that:
tt1.component(0) = nn.component(1),
tt1.component(1) = nn.component(2),
tt1.component(2) = nn.componen(0)
nn is another volVectorField. The compiler "expected initializer before tt1". Thank you for helping!
|All times are GMT -4. The time now is 04:39.|