Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
70060050
Commit
70060050
authored
Dec 15, 2010
by
mattijs
Browse files
ENH: ops.H : added minMag,maxMag eqOp
parent
ba7fb35e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/primitives/ops/ops.H
View file @
70060050
...
...
@@ -76,6 +76,8 @@ EqOp(eqMag, x = mag(y))
EqOp
(
plusEqMagSqr
,
x
+=
magSqr
(
y
))
EqOp
(
maxEq
,
x
=
max
(
x
,
y
))
EqOp
(
minEq
,
x
=
min
(
x
,
y
))
EqOp
(
minMagSqrEq
,
x
=
(
magSqr
(
x
)
<=
magSqr
(
y
)
?
x
:
y
))
EqOp
(
maxMagSqrEq
,
x
=
(
magSqr
(
x
)
>=
magSqr
(
y
)
?
x
:
y
))
EqOp
(
andEq
,
x
=
(
x
&&
y
))
EqOp
(
orEq
,
x
=
(
x
||
y
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment