Commit 63423262 authored by Andrew Heather's avatar Andrew Heather
Browse files
parents 7c1ca515 d5ee2e8e
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd.
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -155,7 +155,7 @@ dimensionedScalar cbrt(const dimensionedScalar& ds)
return dimensionedScalar
(
"cbrt(" + ds.name() + ')',
pow(ds.dimensions(), dimensionedScalar("(1/3)", dimless, 1.0/3.0)),
pow(ds.dimensions(), dimensionedScalar("(1|3)", dimless, 1.0/3.0)),
::cbrt(ds.value())
);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment