When passing '-internaltcl' to netgen, it will evaluate a preprocessed
tcl string instead of loading ng.tcl.
The string is stored in the file onetcl.cpp, which is generated by onetcl.py
Use tolerance in GetElementOfPoint when using a search tree
I'm getting artifacts at domain edges (see attached), because no tolerance is used when calling `elementsearchtree->GetIntersecting()` inside `GetElementOfPoint`.
![searchtree](/uploads/5aa10da74cac7bef9e134756ea897e49/searchtree.png)
See merge request !29
Force rebuild of Netgen subproject when building the Superbuild
CMake is using stamp files to check if the external projects are out
of date. There is an option 'BUILD_ALWAYS 1' of ExternalProject_Add,
but it is not available prior to CMake 3.1.
To work around it, this commit solves two problems at once:
- Add a new step 'check_submodules' between configure and build
to check if all submodules are up to date. This step has the option
'ALWAYS 1', which means it is always considered outdated.
- Since 'build' depends on the above step, it will always be started
See merge request !30
CMake is using stamp files to check if the external projects are out
of date. There is an option 'BUILD_ALWAYS 1' of ExternalProject_Add,
but it is not available prior to CMake 3.1.
To work around it, this commit solves two problems at once:
- Add a new step 'check_submodules' between configure and build
to check if all submodules are up to date. This step has the option
'ALWAYS 1', which means it is always considered outdated.
- Since 'build' depends on the above step, it will always be started
point out of quad fix
Now the error "point out of domain" does not appear any more, but the values are wrong. [pointoutofquad.py](/uploads/91e142ab369491ac5a4e4a8d9c93d671/pointoutofquad.py)
See merge request !28