File config.h#
Basic configuration:
Include general dependencies.
Define assertions.
- Copyright
Copyright 2017. Tom de Geus. All rights reserved.
- License: This project is released under the GNU Public License (GPLv3).
Defines
-
GOOSEFEM_ASSERT(expr)#
All assertions are implementation as::
They can be enabled by::GOOSEFEM_ASSERT(...)
(before including GooseFEM). The advantage is that:#define GOOSEFEM_ENABLE_ASSERT
File and line-number are displayed if the assertion fails.
GooseFEM’s assertions can be enabled/disabled independently from those of other libraries.
- Throws std::runtime_error:
-
GOOSEFEM_CHECK(expr)#
Assertion that cannot be switched off.
Implement assertion by::
GOOSEFEM_CHECK(...)
- Throws std::runtime_error:
-
GOOSEFEM_WIP_ASSERT(expr)#
Assertion that concerns temporary implementation limitations.
Implement assertion by::
GOOSEFEM_WIP_ASSERT(...)
- Throws std::runtime_error:
-
GOOSEFEM_WARNING(message)#
All warnings are implemented as::
They can be disabled by::GOOSEFEM_WARNING(...)
#define GOOSEFEM_DISABLE_WARNING
-
GOOSEFEM_WARNING_PYTHON(message)#
All warnings specific to the Python API are implemented as::
They can be enabled by::GOOSEFEM_WARNING_PYTHON(...)
#define GOOSEFEM_ENABLE_WARNING_PYTHON
-
namespace GooseFEM
Toolbox to perform finite element computations.
-
namespace array_type#
Container type.
By default
array_type::tensor
is used. Otherwise:#define GOOSEFEM_USE_XTENSOR_PYTHON
to usext::pytensor
-
namespace array_type#