mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: Fixing code style requirements for all src.
This commit is contained in:
@ -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
|
||||
@ -149,8 +149,14 @@ vector eigenValues(const tensor& t)
|
||||
scalar aBy3 = a/3;
|
||||
|
||||
i = m2SqrtQ*cos(theta/3) - aBy3;
|
||||
ii = m2SqrtQ*cos((theta + constant::mathematical::twoPi)/3) - aBy3;
|
||||
iii = m2SqrtQ*cos((theta - constant::mathematical::twoPi)/3) - aBy3;
|
||||
ii =
|
||||
m2SqrtQ
|
||||
*cos((theta + constant::mathematical::twoPi)/3)
|
||||
- aBy3;
|
||||
iii =
|
||||
m2SqrtQ
|
||||
*cos((theta - constant::mathematical::twoPi)/3)
|
||||
- aBy3;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -342,8 +348,14 @@ vector eigenValues(const symmTensor& t)
|
||||
scalar aBy3 = a/3;
|
||||
|
||||
i = m2SqrtQ*cos(theta/3) - aBy3;
|
||||
ii = m2SqrtQ*cos((theta + constant::mathematical::twoPi)/3) - aBy3;
|
||||
iii = m2SqrtQ*cos((theta - constant::mathematical::twoPi)/3) - aBy3;
|
||||
ii =
|
||||
m2SqrtQ
|
||||
*cos((theta + constant::mathematical::twoPi)/3)
|
||||
- aBy3;
|
||||
iii =
|
||||
m2SqrtQ
|
||||
*cos((theta - constant::mathematical::twoPi)/3)
|
||||
- aBy3;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user