2b2c78309c
ENH: added an optional argument to the constructor of patchWave
...
This provides a list of faces (can be internal ones) to act as
additional seeds for the wave algorithm. The default argument provides
an empty list, so the behaviour of patchWave should not change.
Useful in topology optimisation, for propagating the active design
variables from the seed faces to the interior, with a given number of
cells at a time.
2023-12-18 18:01:35 +00:00
698e05eeb3
STYLE: prefer push_uniq() to appendUniq
...
- more consistency with push_back etc.
2023-08-29 11:24:16 +02:00
442c309dca
BUG: cut/paste error in searchableExtrudedCircle
...
- use vector::removeCollinear a few places
COMP: incorrect initialization order in edgeFaceCirculator
COMP: Silence boost bind deprecation warnings (before CGAL-5.2.1)
2022-04-29 11:43:58 +02:00
cdbc3e2de6
ENH: List/DynamicList appendUniq() method
...
- affords some code reduction.
STYLE: use HashSet insert() without found() check in more places
2021-04-19 16:33:42 +00:00
f9033cbf92
BUG: wall distance: Fixes #1932 .
...
Potential problem with multiple faces. Rewritten to
use DynamicList.
2020-11-23 13:08:17 +00:00
ea16cb4b29
ENH: add directionalMeshWave functionality
...
For a given point within a given mesh, the existing `meshWave` method gives
the orthogonal distance to a patch. In meshes with very steep terrain (e.g.
a hill of 90 [deg], this might be problematic for the fields that require
the distance to the patch associated with the terrain surface.
`directionalMeshWave` is a variant of `meshWave` distance-to-patch method,
which ignores the component in the specified direction. Can be used e.g. to
calculate the distance in the z-direction only.
TUT: add example of directionalMeshWave to mesh/moveDynamicMesh/SnakeCanyon
Requirement by CENER
Implementation by Mattijs Janssens
2020-04-29 19:54:00 +01:00
f4ee841c6d
STYLE: adjust code format for trackingData
...
- rationalized some layout and comments
2020-01-23 17:10:39 +01:00
fdf8d10ab4
Merge commit 'e9219558d7' into develop-v1906
2019-12-05 11:47:19 +00:00
e9219558d7
GIT: Header file updates
2019-10-31 14:48:44 +00:00
1d79c0452c
ENH: additional contiguous traits ( #1378 )
...
- change contiguous from a series of global functions to separate
templated traits classes:
- is_contiguous
- is_contiguous_label
- is_contiguous_scalar
The static constexpr 'value' and a constexpr conversion operator
allow use in template expressions. The change also makes it much
easier to define general traits and to inherit from them.
The is_contiguous_label and is_contiguous_scalar are special traits
for handling data of homogeneous components of the respective types.
2019-07-29 11:36:30 +02:00
154029ddd0
BOT: Cleaned up header files
2019-02-06 12:28:23 +00:00
f9fe71815a
STYLE: consistent use of '= delete' for removed constructors/assignments
...
- make the purpose more explicit, and reduces some work for the
compiler as well.
2018-05-30 12:03:17 +02:00
6b6b36afd3
STYLE: revert bitSet/HashSet setMany() to set() method (issue #837 )
...
- improves backward compatibility and more naming consistency.
Retain setMany(iter1, iter2) to avoid ambiguity with the
PackedList::set(index, value) method.
2018-05-29 17:38:02 +02:00
a230e8d408
STYLE: Correcting typos
2018-03-28 17:14:16 +01:00
d17bc72585
ENH: consistency of HashSet setMany(), insertMany() with packed-list version
...
- this also provides a better separation of the intent
(ie, inserting a single value, or inserting multiply values)
2018-03-14 21:08:29 +01:00
c126464d1c
ENH: change wordRes to be a List of wordRe instead of a wrapper (issue #259 )
...
- this permits direct storage of a list with additional matcher
capabilities
- provide wordRes::matcher class for similar behaviour as previously
2018-02-21 10:05:30 +01:00
8399277d7d
STYLE: eliminate duplicate includes (issue #293 )
2017-07-17 14:44:05 +02:00
6a53ed41ba
Doxygen documentation: Standardized the 'See also' heading
2016-06-17 17:31:34 +01:00
67de20df25
Further standardization of loop index naming: pointI -> pointi, patchI -> patchi
2016-05-18 21:20:42 +01:00
450728ea84
Standardized cell, patch, face and processor loop index names
2016-04-25 12:00:53 +01:00
43beb06018
Standardized cell, patch and face loop index names
2016-04-25 10:28:32 +01:00
95d146ecdf
Rationalized the indentation of C-preprocessor directives
2016-02-29 15:42:03 +00:00
56fa7c0906
Update code to use the simpler C++11 template syntax removing spaces between closing ">"s
2016-01-10 22:41:16 +00:00
c4d5f65a10
Completed update ...ErrorIn -> ...ErrorInFunction
...
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-11 09:03:39 +00:00
8628ef2fea
Corrected capitalization of Doxygen documentation comments
2015-02-14 13:10:15 +00:00
1aeb9f4d65
STYLE: wallPoint: indenting
2013-11-12 15:06:33 +00:00
a11a6867c7
BUG: wallPoint: I/O operators missing space
2013-07-10 12:28:18 +01:00
74e16d7729
Reformat "template <..." to template<"
...
Add support for constructing VectorSpaces from forms with lower component type,
e.g. Vector<scalar> from Vector<label>
2013-02-21 15:07:50 +00:00
944b8d438b
Reformat "template <..." to template<"
...
Add support for constructing VectorSpaces from forms with lower component type,
e.g. Vector<scalar> from Vector<label>
2013-02-21 15:07:09 +00:00
cbbc796bb2
Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev
2013-01-04 11:16:27 +00:00
7c218f7adf
STYLE: Minor code formatting
2013-01-04 11:15:36 +00:00
100a25ee25
STYLE: defineDebug: move into Foam namespace
2012-12-17 17:35:42 +00:00
f82f5ff3fb
BUG: wallPoint: initialise to -GREAT to handle ami interpolation
2012-03-05 11:03:40 +00:00
7139eadffa
BUG: Corrected valid() behaviour for wallPoint - mantis #405
2012-02-01 16:34:32 +00:00
f1e0067c3d
ENH: cellDistFuncs: use on-the-fly pointCells calculation
2011-11-15 11:36:44 +00:00
c2dd153a14
Copyright transfered to the OpenFOAM Foundation
2011-08-14 12:17:30 +01:00
13ce640b92
ENH: dates
2011-04-07 22:36:11 +01:00
dccfa2171b
STYLE: primitiveMesh.H: removed extraneous includes
2011-04-07 08:56:12 +01:00
96edf6f32d
STYLE: pass wordReList instead of wordList to polyBoundaryMesh::patchSet()
...
- make warning optional and reuse in cellDistFuncs::getPatchIDs
2011-02-08 13:48:01 +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
af7c53443e
ENH: FaceCellWave,PointEdgeWave : contiguous underlying data type
2010-12-20 17:16:30 +00:00
1aea998bbe
ENH: FaceCellWave : additional trackData like argument for passing in non-cell data
2010-11-24 11:48:04 +00:00
51b8a7367c
ENH: MeshWave: allow 1 cells cases.
2010-10-19 17:40:36 +01:00
d79237597e
STYLE: Fixing code style requirements for all src.
2010-07-28 13:31:46 +01:00
b6f3bd4c23
STYLE: follow coding guide recommendation for '//- Destructor'
2010-04-12 11:55:52 +02:00
d29c438657
STYLE: use url for FSF license instead of postal address, switch to GPL v3
2010-03-29 14:07:56 +02:00
f1ab396a66
STYLE: remove all references to wallPoint::greatPoint.
...
Replaced with point::max wherever possible. Is VGREAT, not GREAT so be
careful with calculations.
2010-03-17 11:48:44 +00:00
5e972c772f
remove trailing space from some files
2009-12-04 13:39:35 +01:00