Commit graph

5016 commits

Author SHA1 Message Date
Vuko Vukcevic
ac71ae4d16 Added a few comments regarding recent bugfixes 2019-03-08 12:51:33 +01:00
Vuko Vukcevic
d1116b86a9 Temporary change in refinement.C regarding edge consistency
Removed FatalError and instead issuing a warning (if debug) for runs with
Parallel Load Balancing. Still need to test thoroughly
2019-02-20 13:54:16 +01:00
Vuko Vukcevic
cea60ab8ab Refactorisation in refinement polyMeshModifier
Moved extendMarkedCellsAcrossFaces and extendMarkedCellsAcrossPoints from
refinement to meshTools.
2019-02-20 12:55:06 +01:00
Vuko Vukcevic
0efa19e651 Wrapped DLB output around if (debug) 2019-02-20 12:06:25 +01:00
Vuko Vukcevic
7f08269ab2 Two bugfixes:
1. polyTopoChanger::changeMesh -> call to polyTopoChanger::update needs to
   happen after polyMesh::updateMesh (more specifically,
   polyBoundaryMesh::updateMesh) in order to correctly build the processor data,
2. refinement::updateMesh -> now that number 1 is fixed, point sync happens in
   updateMesh instead of setRefinement.

These two combined were responsible for hard-to-track errors in AMR + DLB
2019-02-19 22:15:16 +01:00
Vuko Vukcevic
5526c3a048 Updated comment for member function 2019-02-19 21:59:45 +01:00
Vuko Vukcevic
bb23c4851d Bugfix on debug
When issuing a Warning, don't raise FatalError
2019-02-18 13:04:44 +01:00
Vuko Vukcevic
3742439d0f Bugfix in prismatic2DRefinement
Mistakenly used patch.size() instead of patch.start() to fetch the global face
index. This caused points at the boundary to be marked as split points, which is
not allowed. Also corrected a few typos.
2019-02-17 12:01:18 +01:00
Vuko Vukcevic
712807e126 Removed temporary debug stuff from polyhedralRefinement 2019-02-17 10:01:18 +01:00
Vuko Vukcevic
33c4eb5986 Minor formatting and debug output 2019-02-17 10:00:41 +01:00
Vuko Vukcevic
9871df3d78 Added minimum protected level to protectedInitialRefinement 2019-02-17 09:59:35 +01:00
Vuko Vukcevic
46756467b4 Improvement in globalProcFaceIndex
globalProcFaceIndex::globalLabel returns a reference and not a copy
2019-02-17 00:34:17 +01:00
Vuko Vukcevic
028cafdb32 Slight refactorisation in processorMeshesReconstructor::reconstructMesh 2019-02-17 00:32:00 +01:00
Vuko Vukcevic
f1c714eabf Upper-triangular neighbour ordering PLB bugfix
In PLB, the upper-triangular error (for neighbours of a given owner) was
appearing because the faces merged from two processor patches into an internal
face were not ordered correctly. This is now fixed by sorting out these faces
when doing the decomposition.
2019-02-17 00:29:14 +01:00
Danial Khazaei
e8a0078301
[bugfix]: 64-bit label bugfix some how got overwritten by cfMesh update. 2019-02-16 02:21:29 +03:30
Danial Khazaei
7fee1a978c
[cxx-syntax]: consistent usage of nullptr. 2019-02-16 00:22:28 +03:30
Danial Khazaei
c429f3b275
[bugfix]: recover velocity field in a more general way.
avoiding compilation failure in e.g. waves2Foam
2019-02-15 23:19:15 +03:30
Danial Khazaei
be47d0ece1
[format]: make forward declaration style consistent. 2019-02-15 23:12:44 +03:30
Danial Khazaei
0642eb7c4a
[bugfix]: friend operators need forward declaration to avoid gcc warning.
Without forward declaration, gcc warns that the operator has not been declared
within foam but only as a friend.
2019-02-15 22:30:51 +03:30
Hrvoje Jasak
f1545bac95 Cleanup 2019-02-14 18:08:48 +00:00
Hrvoje Jasak
5712c8d88e cfMesh cannot deal with a split symmetry plane: changed patch type 2019-02-14 18:07:54 +00:00
Hrvoje Jasak
a9ed8c0a8f Bugfix: additionaArgs is no longer a reference 2019-02-14 17:13:56 +00:00
Hrvoje Jasak
1c6c10d84a Fixed merge failure 2019-02-13 18:06:23 +00:00
Hrvoje Jasak
2fea87c674 Bugfix and improvement in interpolateXY function that returns a field. Vuko Vukcevic 2019-02-13 15:51:10 +00:00
Hrvoje Jasak
0dc478ae7b Wrong dimensions on creation of zero geometric field. Vuko Vukcevic 2019-02-13 15:48:26 +00:00
Hrvoje Jasak
64178a218a Incorrect base class method override in sixDoFRigidBodyDisplacementPointPatchVectorField. Dario Zivkovic 2019-02-13 15:47:16 +00:00
Hrvoje Jasak
ac82db9f2d Incorrect base class method override in sixDoFRigidBodyDisplacementPointPatchVectorField. Dario Zivkovic 2019-02-13 15:46:14 +00:00
Hrvoje Jasak
9c8f3f6649 Minor fixes: postfixedSubRegistry and non-contiguous lists indentation. Henrik Rusche 2019-02-13 15:42:47 +00:00
Hrvoje Jasak
e2189947db Resolving merge commits 2019-02-13 15:41:35 +00:00
Hrvoje Jasak
37c728edfb Bugfix: nullptr 2019-02-13 15:38:37 +00:00
Hrvoje Jasak
b07ee20154 Improvement in protectedInitialRefinement. Author: Vuko Vukcevic 2019-02-13 15:27:57 +00:00
Hrvoje Jasak
4311ba296a GCC8 compatibility improvements. Cumulative improvment on gcc8 compliance. Added support for openmpi version 4.0.0 Updated cfMesh library to latest version. Author: Danial Khazaei 2019-02-13 15:25:42 +00:00
Hrvoje Jasak
396997c0ae BUGFIX: Compile WM_LABEL_SIZE=64 (final). Author: Henrik Rusche. 2019-02-13 15:17:29 +00:00
Hrvoje Jasak
9b5826bf88 Merge branch 'nextRelease' of ssh://git.code.sf.net/p/foam-extend/foam-extend-4.0 into nextRelease 2019-02-13 14:38:06 +00:00
Hrvoje Jasak
e7fff4e89c Reorder constructors 2019-02-13 14:35:45 +00:00
Hrvoje Jasak
76d57ed7fd Added syncPar switch to enable/disable parallel comms in polyMesh 2019-02-13 14:35:33 +00:00
Hrvoje Jasak
6104042c17 Fix formatting in output 2019-02-13 10:53:17 +00:00
Danial Khazaei
d2bc2468c7
format: make cfMesh banner consistent and removed trailing whitespace 2019-02-05 07:38:23 +03:30
Henrik Rusche
f000c7f6b8 List<label> -> labelList and simiar throughout 2019-02-04 21:58:51 +01:00
Henrik Rusche
c9f9aa069b Switched target for 64BitInts 2019-02-04 21:58:51 +01:00
Henrik Rusche
951ca591e8 Fixes to avoid changing the operators in the control switches 2019-02-04 21:58:51 +01:00
Henrik Rusche
ec50f969d0 Added TP sources to compile WM_LABEL_SIZE=64 2019-02-04 21:58:51 +01:00
Henrik Rusche
923fee738e BUGFIX: Compile WM_LABEL_SIZE=64 2019-02-04 21:58:51 +01:00
Vuko Vukcevic
11acc2de1d Temporary commit: intermediate refactorisation stage 2019-02-03 16:46:49 +01:00
Vuko Vukcevic
21154aa132 Temporary bugfix in decomposeMesh
Needs clean-up and refactorization
2019-02-01 09:43:40 +01:00
Danial Khazaei
5f08a2f90a
Bugfix: update cfMesh to v1.1 which fixes self-comparison always evaluates to false [-Wtautological-compare] 2019-01-31 17:52:39 +03:30
Danial Khazaei
b9ba5ebf2e
Bugfix: Added support for openmpi 4.0.0 and updated c++ casting style to suppress [-Wold-style-cast] 2019-01-31 17:44:30 +03:30
Danial Khazaei
0803bdbe20
Bugfix: fixed the compiler can assume that the address of ‘t’ will never be NULL warning [-Waddress] 2019-01-31 17:33:45 +03:30
Danial Khazaei
9c81a37a62
CXX-syntax: updated tecio c++ casting style to suppress [-Wold-style-cast] 2019-01-31 17:20:44 +03:30
Danial Khazaei
a480f9577c
Bugfix: type qualifiers ignored on cast result type 2019-01-31 17:16:18 +03:30