GMatElastic 0.5.3
Loading...
Searching...
No Matches
config.h File Reference

Go to the source code of this file.

Namespaces

namespace  GMatElastic
 Linear elastic material model.
 
namespace  GMatElastic::array_type
 Container type.
 

Macros

#define GMATELASTIC_ASSERT(expr)
 All assertions are implementation as: More...
 

Typedefs

template<typename T , size_t N>
using GMatElastic::array_type::tensor = xt::xtensor< T, N >
 Fixed (static) rank array. More...
 

Detailed Description

License: This project is released under the MIT License.

Definition in file config.h.

Macro Definition Documentation

◆ GMATELASTIC_ASSERT

#define GMATELASTIC_ASSERT (   expr)

All assertions are implementation as:

GMATELASTIC_ASSERT(...)

They can be enabled by:

#define GMATELASTIC_ENABLE_ASSERT

(before including GMatElastic). The advantage is that:

  • File and line-number are displayed if the assertion fails.
  • Assertions can be enabled/disabled independently from those of other libraries.
Exceptions
std::runtime_error

Definition at line 32 of file config.h.