Feature/language
- Jul 06, 2020
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
subrepo: subdir: "packages/kokkos" merged: "953d7968e" upstream: origin: "git@github.com:kokkos/kokkos.git" branch: "master" commit: "953d7968e" git-subrepo: version: "0.4.1" origin: "git@github.com:ingydotnet/git-subrepo.git" commit: "a04d8c2"
-
Stéphane Del Pino authored
Separate the notion of Nlr (Eucclhyd normals) of the calculation of Cjr in 3D. It remain to implement its calculation in 2D to finish this part. This should allow a trivial implementation of the Eucclhyd scheme and simplify coding off pressure boundary conditions.
-
Stéphane Del Pino authored
This impacts the use of AcousticSolver since updated mesh is now returned by AcousticSolver::computeNextStep Note that the code of AcousticSolver is now quite crappy and will be reworked Closes #9
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
- Jul 05, 2020
-
-
Stéphane Del Pino authored
thanks to clang 10
-
- Jul 03, 2020
-
-
Stéphane Del Pino authored
The aim of this singleton is to store (and eventually compute) various data associated to a given mesh: volumes, corner vectors, centroids, isobarycenters. These data will be stored as long as the mesh lives and will be computed on demand This will also allow to define really constant meshes (removing the remaining mutable node coordinates ...)
-
- Jul 02, 2020
-
-
Stéphane Del Pino authored
-
- Jul 01, 2020
-
-
Stéphane Del Pino authored
Actually, classes are created but files remain to be split
-
- Jun 30, 2020
-
-
Stéphane Del Pino authored
Extracts dimension 1 treatment to improve readability
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
- code needs a lot of clean-up
-
- Jun 29, 2020
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
Note that VTK output does not support diamond cells and only deals with pyramids based on quadrangles
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
- Jun 26, 2020
-
-
Stéphane Del Pino authored
- ItemValueUtils: min/max/sum functions require improvement or fixes - Diamond meshes are built correctly in 2D and sequential - faces boundaries references lists are correctly translated - node boundaries (ref lists) are missing - 1D and 3D are to be done
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
- Jun 23, 2020
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
- Jun 22, 2020
-
-
Stéphane Del Pino authored
This allows to free memory that is no more needed
-
- Jun 18, 2020
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
catch of runtime error was not tested
-
Stéphane Del Pino authored
Remove some unreachable code and add missing treatment for bool-tuples
-
Stéphane Del Pino authored
Remove type cases since any argument can be converted to a string
-
- Jun 17, 2020
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
parallel::allReduceMax, parallel::allReduceMin, parallel::allReduceSum can no longer be called on `bool` data, this is checked at compile time. These functions would fail at runtime (according to MPI standard)
-
Stéphane Del Pino authored
Work in progress [ci skip]
-
Stéphane Del Pino authored
-
- Jun 16, 2020
-
-
Stéphane Del Pino authored
Add tests for - ASTNodeAffectationExpressionBuilder and - ASTNodeNaturalConversionChecker Also fix a minor issue where tuple(N) could be built instead of tuple(N) and vice-versa. Finally rename `is_vector` traits to `is_std_vector` for readability
-
- Jun 15, 2020
-
-
Stéphane Del Pino authored
Backtrace is now only produced when '-p' option is provided This gives better user information and allows to debug more simply since exceptions are no more rethrown Going further would require to be able to indicate the current line of execution during a non exception crash
-
Stéphane Del Pino authored
-
- Jun 12, 2020
-
-
Stéphane Del Pino authored
Also add missing unit tests for ASTNodeDatatypeBuilder
-
Stéphane Del Pino authored
Tuples are only defined for simple types. This means that defining tuples like let t:(R*R); is forbidden. This may change in future, but it does not seem a limitations and probably leads to simpler syntax. Now, when the used type is not simple, it is clearly indicated.
-
- Jun 11, 2020
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
- bunch of fixes and simplifications - add unit tests
-
Stéphane Del Pino authored
Thanks to Pascal Havé (@hpwxf) for reporting it
-
- Jun 10, 2020
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
- simplify a lot (mainly construction/usage) - add many more checks (during compilation and execution) Add missing CI tests
-
- Jun 09, 2020
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
- Jun 08, 2020
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
- Jun 05, 2020
-
-
Stéphane Del Pino authored
-
- Jun 03, 2020
-
-
Stéphane Del Pino authored
These functions set initial density, velocity and pressure
-
Stéphane Del Pino authored
-
- Jun 02, 2020
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
These sets are defined for 2D and 3D meshes
-
Stéphane Del Pino authored
Previously one required that corners a and b were defined such that a[i]<b[j]. It is no more the case. Also check that `a[i]-b[j] != 0`. This avoids crashes which would be difficult to track.
-
Stéphane Del Pino authored
The mesh is defined by two opposite corners and the number of cells in each direction.
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
This contributes to #7
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
- Jun 01, 2020
-
-
Stéphane Del Pino authored
- do not use anymore gcc extension for __VA_ARGS__ - check that parameters are always correct (string literal could be unchecked under NDEBUG) - when using NDEBUG, assert exception cannot be evaluated. Previously result was not used but non trivial assertions such as `container.find(key) != container.end()` could be evaluated. More specifically functions with potential boundary effects. - also, this allows to compile the code with the `-pedantic` flag.
-
- May 29, 2020
-
-
Stéphane Del Pino authored
This was buggy since used gmsh meshes were incorrectly oriented ... Should check cells volume
-
- May 28, 2020
-
-
Stéphane Del Pino authored
-
- May 27, 2020
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
Also fix tuple arguments when a single value is passed (error was related to bad casting)
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
- May 26, 2020
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
Content data type was altered when a tuple was defined. Data type must not change! An assertion has also been added to avoid this kind of problems.
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
It purposely diminish the ambiguity with the dataTypeName() function.
-
- May 25, 2020
-
-
Stéphane Del Pino authored
(a,b) or (c,d,e) are no longer interpreted as TinyVector<2> or TinyVector<3>. They are only converted when the context is appropriate.
-
- May 22, 2020
-
-
Stéphane Del Pino authored
This should have been done much earlier. It consists in defining simply an operator<<
-
- May 21, 2020
-
-
Stéphane Del Pino authored
Also one can now define tuples (which are viewed in the mathematical sense: these are lists of elements of the same type). As a proof of concept one can now define lists of boundary conditions objects or pass lists to builtin functions (namely to module functions).
-
Stéphane Del Pino authored
-
- May 20, 2020
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
The idea is that tuples might not always convert to R^d. This will allow to define generic tuples and eventually to deal with sets.
-
- May 19, 2020
-
-
Stéphane Del Pino authored
This is just a small step - only symmetry are supported (btw theses are the only implemented in the code ...) - one requires 6 boundary conditions to be passed to the `glace` function It is quite obvious that a bunch of checks is required
-
Stéphane Del Pino authored
Also split BoudaryConditionDescriptor and BoundaryDescriptor files
-
Stéphane Del Pino authored
-
- May 18, 2020
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
It is a first step: it reproduces Pug's main. The only available parameter is the mesh.
-
- May 15, 2020
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
AST related files are now in the 'language/ast' directory
-
- May 14, 2020
-
-
Stéphane Del Pino authored
-
Stéphane Del Pino authored
Displace AST*Printer and BuiltinFunctionEmbedder to 'utils'
-
Stéphane Del Pino authored
Now modules are defined in their own directory (language/modules)
-
- May 13, 2020
-
-
Stéphane Del Pino authored
Compilation: function descriptor name was not named Test failure: remove useless assertion which broke exception catching tests
-
Stéphane Del Pino authored
- code is now generic (even if more testing remains). - data types are now check accordingly to catch error in a clean way In some cases (generally?) data types can only be checked at runtime. This is the case for instance if function definition depends on the dimension (which is likely to happen in many cases). Thus a special procedure has been developed to indicate where the semantic error occurs at runtime. (this is in some way related to issue #19)
-
- May 06, 2020
-
-
Stéphane Del Pino authored
- Rename FunctionAdapter -> PugsFunctionAdapter to improve readability - PugsFunctionAdapter is now defined in its own file
-