openfoam/etc/codeTemplates/BC
Mark Olesen 70d526cd82 ENH: neg(x) instead of '1 - pos0(x)' for less-than 0 check
- fewer operations

ENH: replace 'neg(x)*a + pos0(x)*b' with 'lerp(a, b, pos0(x))'

- uses pos0 as a 0-1 selector. Fewer operations.
2023-02-21 10:05:27 +01:00
..
Make foamNewBC: script to create template code for a new boundary condition 2015-12-04 14:33:56 +00:00
BC.C ENH: neg(x) instead of '1 - pos0(x)' for less-than 0 check 2023-02-21 10:05:27 +01:00
BC.H CONFIG: incorrect BC code templates (fixes #1885) 2020-10-20 14:23:40 +02:00
BCs.C CONFIG: incorrect BC code templates (fixes #1885) 2020-10-20 14:23:40 +02:00
BCs.H CONFIG: incorrect BC code templates (fixes #1885) 2020-10-20 14:23:40 +02:00
BCsFwd.H CONFIG: incorrect BC code templates (fixes #1885) 2020-10-20 14:23:40 +02:00