View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000146 | OpenFOAM | Bug | public | 2011-02-23 09:35 | 2011-02-23 23:04 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | OpenSuse | OS Version | 11.3 |
Summary | 0000146: EigenVectors/EigenValues for GeometricTensorField set wrong dimensions | ||||
Description | The functions eigenVectors and eigenValues applied to a GeometricTensorField return the wrong dimensions eigenVectors(GeometricTensorField f) returns f.dimensions() eigenValues(GeometricTensorField f) returns dimless It should be the opposite eigenVectors(GeometricTensorField f) returns dimless eigenValues(GeometricTensorField f) returns f.dimensions() Same bug that 0000142 for DimensionedTensorField | ||||
Additional Information | the error is simple to correct. In src \OpenFOAM \fields \GeometricFields \ GeometricTensorField \GeometricTensorField.C Old 00049 UNARY_FUNCTION(vector, tensor, eigenValues, sign) 00050 UNARY_FUNCTION(tensor, tensor, eigenVectors, transform) 00051 00052 UNARY_FUNCTION(vector, symmTensor, eigenValues, sign) 00053 UNARY_FUNCTION(symmTensor, symmTensor, eigenVectors, transform) New 00049 UNARY_FUNCTION(vector, tensor, eigenValues, transform) 00050 UNARY_FUNCTION(tensor, tensor, eigenVectors, sign) 00051 00052 UNARY_FUNCTION(vector, symmTensor, eigenValues, transform) 00053 UNARY_FUNCTION(symmTensor, symmTensor, eigenVectors, sign) In src \OpenFOAM \fields \GeometricFields \ GeometricTensorField \GeometricTensorField.H Old 00062 UNARY_FUNCTION(vector, tensor, eigenValues, sign) 00063 UNARY_FUNCTION(tensor, tensor, eigenVectors, transform) 00064 00065 UNARY_FUNCTION(vector, symmTensor, eigenValues, sign) 00066 UNARY_FUNCTION(symmTensor, symmTensor, eigenVectors, transform) New 00062 UNARY_FUNCTION(vector, tensor, eigenValues, transform) 00063 UNARY_FUNCTION(tensor, tensor, eigenVectors, sign) 00064 00065 UNARY_FUNCTION(vector, symmTensor, eigenValues, transform) 00066 UNARY_FUNCTION(symmTensor, symmTensor, eigenVectors, sign) | ||||
Tags | No tags attached. | ||||