I used cof(T) (from the progra
I used cof(T) (from the programming guide) where T is volTensorField and I got:
error: 'cof' was not declared in this scope I'm using V1.3. Any idea if such a function was implemented? Thanks. |
Hi Maka,
Use Foam::cof(T)
Ma
Hi Maka,
Use Foam::cof(T) Mahdi |
I tried it but I got:
error:
I tried it but I got:
error: 'cof' is not a member of 'Foam' Did such call work for you? Thanks Mahdi. |
I did
henrik@machine> egrep
I did
henrik@machine> egrep cof $FOAM_SRC/OpenFOAM/lnInclude/* /home/foam/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/SymmTensorI.H://- Return the cofactor tensor of a symmetric tensor /home/foam/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/SymmTensorI.H:inline SymmTensor<cmpt> cofactors(const SymmTensor<cmpt>& st) /home/foam/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/TensorI.H://- Return the cofactor tensor of a tensor /home/foam/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/TensorI.H:inline Tensor<cmpt> cofactors(const Tensor<cmpt>& t) and would suggest to try cofactor(T), but you already got the asnwer here http://www.cfd-online.com/cgi-bin/Op...126&post=28783 I would be very grateful if everybody could close their threads by posting the answers to save the time of other people. Henrik |
All times are GMT -4. The time now is 13:59. |