Henry Weller
a495f4d738
foamDebugSwitches -> foamList -debug
2016-06-10 13:34:58 +01:00
Henry Weller
ca45cf1614
DynamicList: minor cleanup
2016-06-04 17:45:11 +01:00
Henry Weller
f823a0ceee
HashTable: Correct error messages
...
Resolves bug-report http://bugs.openfoam.org/view.php?id=2106
2016-05-31 17:18:23 +01:00
Henry Weller
4500971827
Further standardization of loop index naming: pointI -> pointi, patchI -> patchi
2016-05-18 21:20:42 +01:00
Henry Weller
085f011369
PtrList: Now derived from UPtrList to avoid unnecessary code duplication
...
consistency with UList/List and so that functions which take a UPtrList
argument can also be called for PtrList.
2016-05-06 14:08:12 +01:00
Henry Weller
064d3046b9
List: Removed unused constructor from iterators
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2074
2016-04-29 17:17:45 +01:00
Henry Weller
cb9732204d
Replaced StaticAssert with the C++11 equivalent static_assert
2016-04-26 20:44:55 +01:00
Henry Weller
6fd4ce6cc3
Revert "src/postProcessing/functionObjects/field/Make/files: Corrected"
...
This reverts commit 73fe45cd27 .
2016-04-26 20:33:45 +01:00
Henry Weller
73fe45cd27
src/postProcessing/functionObjects/field/Make/files: Corrected
2016-04-26 20:31:58 +01:00
Henry Weller
a8bf4be58a
Standardized cell, patch, face and processor loop index names
2016-04-25 12:00:53 +01:00
Henry Weller
bac78ef989
PtrListIO: Indent list elements on output.
...
Particularly useful for lists of dictionaries.
2016-04-17 15:45:29 +01:00
Henry Weller
9aaf17d45d
List: Remove the inherited UList::shallowCopy to avoid accidental misuse
2016-04-07 21:05:26 +01:00
Henry Weller
ac71f86574
UList: Rationalize assignment (shallow-copy vs deep-copy)
...
//- Disallow default shallow-copy assignment
//
// Assignment of UList<T> may need to be either shallow (copy pointer)
// or deep (copy elements) depending on context or the particular type
// of list derived from UList and it is confusing and prone to error
// for the default assignment to be either. The solution is to
// disallow default assignment and provide separate 'shallowCopy' and
// 'deepCopy' member functions.
void operator=(const UList<T>&) = delete;
//- Copy the pointer held by the given UList.
inline void shallowCopy(const UList<T>&);
//- Copy elements of the given UList.
void deepCopy(const UList<T>&);
2016-04-03 10:26:05 +01:00
Henry Weller
019bf94006
Matrices: Rename private member 'nRows_' -> 'mRows_' for consistency with access member function 'm()'
2016-03-23 12:49:03 +00:00
Henry Weller
ffe2c2ac46
src/OpenFOAM: Use Zero rather than pTraits<Type>
2016-03-22 10:38:30 +00:00
Henry Weller
042a9d96fd
Updated header
2016-03-22 08:27:11 +00:00
Henry Weller
d880a76409
List: Added construction from and assignment to zero
2016-03-22 08:26:50 +00:00
Henry Weller
248d6065eb
Updated header
2016-03-19 21:20:18 +00:00
Henry Weller
9dc14af017
SubList, SubField: Added assignment to UList
2016-03-19 21:19:14 +00:00
Henry Weller
1df60791d8
DynamicList: Added initialized constructor and STL erase function
2016-03-04 11:28:35 +00:00
Henry Weller
f572fdcf9a
src/OpenFOAM/containers: Updated formatting and comments
2016-02-28 18:21:58 +00:00
Henry Weller
7d192447f0
Boundary conditions: Added extrapolatedCalculatedFvPatchField
...
To be used instead of zeroGradientFvPatchField for temporary fields for
which zero-gradient extrapolation is use to evaluate the boundary field
but avoiding fields derived from temporary field using field algebra
inheriting the zeroGradient boundary condition by the reuse of the
temporary field storage.
zeroGradientFvPatchField should not be used as the default patch field
for any temporary fields and should be avoided for non-temporary fields
except where it is clearly appropriate;
extrapolatedCalculatedFvPatchField and calculatedFvPatchField are
generally more suitable defaults depending on the manner in which the
boundary values are specified or evaluated.
The entire OpenFOAM-dev code-base has been updated following the above
recommendations.
Henry G. Weller
CFD Direct
2016-02-20 22:44:37 +00:00
Henry Weller
4426006d69
Info -> InfoInFunction and updated comments
2016-01-20 10:18:13 +00:00
Henry Weller
665b1f821e
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
Henry Weller
e029c7c1a3
Update headers
2016-01-11 13:02:52 +00:00
Henry Weller
a56ab5f863
Consistently indent continuation backslashes in macro definitions
2016-01-11 13:00:56 +00:00
Henry Weller
94c05a1e6c
Update code to use the simpler C++11 template syntax removing spaces between closing ">"s
2016-01-10 22:41:16 +00:00
Henry Weller
36f2d69888
Update code to use the simpler C++11 template syntax
2016-01-10 19:20:16 +00:00
Henry Weller
b28fc21a3e
Update headers
2016-01-10 12:50:32 +00:00
Henry Weller
c238fbd56d
Make private member functions private
...
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1969
2016-01-10 12:49:35 +00:00
Henry Weller
cc99b65d77
src/OpenFOAM: Update ...IOErrorIn -> ...IOErrorInFunction
...
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-10 21:13:04 +00:00
Henry Weller
d5b4448e1a
src/OpenFOAM: Update ...ErrorIn -> ...ErrorInFunction
...
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-08 12:23:52 +00:00
Henry Weller
f623ba2542
Make Doxygen documentation consistent with the rest of OpenFOAM
2015-10-29 22:40:41 +00:00
Henry Weller
711452d46c
PtrListDictionary: New form of Dictionary in which the list type is PtrList rather than a linked-list
2015-09-16 21:26:26 +01:00
Henry Weller
57e98f135e
PtrList: Added const_iterator
2015-09-16 21:25:09 +01:00
Henry Weller
2d35c2638a
reactingEulerFoam/phaseSystem: Create an ordered container for phaseModels
...
The previous method using a HashTable required a separate ordered list
of names which is hard to work with and maintain.
2015-08-28 18:40:22 +01:00
Henry Weller
9a32ae3754
Rename circulators to be consistent with the standard OpenFOAM class naming convention
2015-08-06 16:54:47 +01:00
Henry Weller
e6e7820ae5
Upgrade Intel C++ compiler to icpc (ICC) 15.0.3 20150407
...
This resolves a whole range of issues and work-arounds with earlier
releases. This version of icpc is more or less compatible with the
latest gcc and clang compilers and only required one hack to avoid
warnings from PackedBoolList.H.
2015-07-17 16:50:40 +01:00
Henry Weller
8e7c777ec5
UList::swap: implemented fast version which swaps the size and storage pointer
2015-07-16 11:52:11 +01:00
Henry Weller
3599b8918b
UList, FixedList: Correct swap member function
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1787
2015-07-15 12:10:05 +01:00
Henry Weller
0d024dd37d
Removed use of the deprecated "register" keyword
...
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4340.html
2015-06-30 10:26:44 +01:00
Henry
b44acdb03e
PtrList: Check for EOF while reading to avoid run-on and infinite loop when reading list of dictionaries.
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1538
2015-02-18 08:12:01 +00:00
Henry
f58fd14271
Corrected capitalization of Doxygen documentation comments
2015-02-14 13:10:15 +00:00
Henry
e636b7c73b
Correct section comment: there can only be one destructor
2015-02-12 21:57:29 +00:00
Henry
0296a4ed9e
Updated headers
2015-02-04 16:33:26 +00:00
Henry
a716ef7d82
UILList: Updated
2015-02-04 16:33:12 +00:00
Henry
3745eac109
Updated headers
2014-12-31 19:08:15 +00:00
Henry
2a614865ff
Added and verified support for 64bit labels
...
To compile with 64bit labels set
WM_LABEL_SIZE=64
in ~/OpenFOAM/dev/prefs.sh
source ~/.bashrc
then Allwmake in OpenFOAM-dev.
This will build into for example OpenFOAM-dev/platforms/linux64ClangDPInt64Opt
If WM_LABEL_SIZE is unset or set to 32:
WM_LABEL_SIZE=32
the build would be placed into OpenFOAM-dev/platforms/linux64ClangDPInt32Opt
Thus both 32bit and 64bit label builds can coexist without problem.
2014-12-31 19:02:52 +00:00
Henry
3dd3e6157c
Resolve issues relating to compilation with clang-3.5.0
2014-12-15 22:38:10 +00:00
Henry
446e5777f0
Add the OpenFOAM source tree
2014-12-10 22:40:10 +00:00