c278b93d7a
COMP: backport of updates for gcc-92 compilation
...
STYLE: add typedefs for interpolation tables
2020-01-28 12:46:27 +01:00
e9219558d7
GIT: Header file updates
2019-10-31 14:48:44 +00:00
dc32b20a5c
ENH: add magType to pTraits and arithmetic primitives
2019-06-04 19:30:35 +02:00
e42cc287de
BUG: incorrect scalar/complex division ( #1331 )
...
ENH: define addition/subtraction operations for scalar and complex
- required since construct complex from scalar is explicit
- additional tests in Test-complex
2019-06-04 09:08:42 +01:00
aab644a3fc
STYLE: eliminate complex constants that are duplications of pTraits
...
- eg pTraits<complex>::zero, pTraits<complex>::one instead.
This is consistent with other primitives such as scalar, label etc.
2019-05-27 18:09:43 +02:00
f8a70115fd
ENH: add sign(), csign() methods for complex
...
- use std::hypot for complex mag() instead of long-hand version
- Detail::conj() function for complex or non-complex
2019-05-21 11:18:12 +01:00
567fced30b
ENH: add pTraits<complex> ( #1247 )
2019-04-04 19:00:29 +02:00
fcba64913a
ENH: conversion and function improvements for complex ( #1247 )
...
- add construction from and conversion to std::complex, which allows
easier wrapping of functions
- add Foam:: functions for complex versions of sin, cos, ...
2019-03-29 11:03:48 +01:00
1788bce0a2
ENH: changed definition of complex::one ( #1247 )
...
- was historically defined as (1 1), but it is more consistent with
the concept of one to have a real component only.
Now defined as (1 0): 1+0i
STYLE: remove obscure '!' operator for complex conjugate
- either use the member function or the '~' operator
2019-03-27 08:24:03 +01:00
a1999bc92c
ENH: additional construct/assignment methods for complex ( #1247 )
...
- construct/assign from Zero
2019-03-25 15:17:58 +01:00
154029ddd0
BOT: Cleaned up header files
2019-02-06 12:28:23 +00:00
59b578f155
Provide consistency in assignment operators
...
Always return void to avoid various bugs associated with automatic
type conversion.
Resolves request http://openfoam.org/mantisbt/view.php?id=1973
2016-01-17 18:56:28 +00:00
c2dd153a14
Copyright transfered to the OpenFOAM Foundation
2011-08-14 12:17:30 +01:00
eaef8d482b
STYLE: Updated 1991 start copyright year to 2004
2011-01-14 16:08:00 +00:00
099cc39e2e
Revert "STYLE: 2011 copyright date."
...
This reverts commit b18f6cc1ce .
2011-01-05 18:24:29 +00:00
b18f6cc1ce
STYLE: 2011 copyright date.
2011-01-05 11:14:26 +00:00
d79237597e
STYLE: Fixing code style requirements for all src.
2010-07-28 13:31:46 +01:00
d29c438657
STYLE: use url for FSF license instead of postal address, switch to GPL v3
2010-03-29 14:07:56 +02:00
eb3c47c75f
pass-thru object in assignment of primitive types (strings)
2009-03-12 11:29:39 +01:00
d5cbc3bf08
cosmetic cleanups
...
- grammar in comments, namespace qualifiers, etc.
2009-01-16 19:07:14 +01:00
28b200bcd9
update copyrights for 2009
2008-12-31 19:01:56 +01:00
02cabc3cf2
updated Copyright (C) \d+-2008 OpenCFD Ltd.
2008-06-25 15:01:46 +02:00
3170c7c0c9
Creation of OpenFOAM-dev repository 15/04/2008
2008-04-15 18:56:58 +01:00