GMatElastoPlasticQPot 0.18.3
Loading...
Searching...
No Matches
config.h File Reference

Go to the source code of this file.

Namespaces

namespace  GMatElastoPlasticQPot
 Material model based on a sequence of parabolic potentials.
 
namespace  GMatElastoPlasticQPot::array_type
 Define container type.
 

Macros

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

Typedefs

template<typename T , size_t N>
using GMatElastoPlasticQPot::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

◆ GMATELASTOPLASTICQPOT_ASSERT

#define GMATELASTOPLASTICQPOT_ASSERT (   expr)

All assertions are implementation as:

GMATELASTOPLASTICQPOT_ASSERT(...)

They can be enabled by:

#define GMATELASTOPLASTICQPOT_ENABLE_ASSERT

(before including GMatElastoPlasticQPot). 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 30 of file config.h.