ProcessLib::TrafoTanh Struct Reference

Detailed Description

Definition at line 54 of file VariableTransformation.h.

#include <VariableTransformation.h>

Static Public Member Functions

static double x (const double y)
static double dxdy (const double x)

Static Public Attributes

static const bool constrained = true

Member Function Documentation

◆ dxdy()

static double ProcessLib::TrafoTanh::dxdy ( const double x)

Derivative of the "physical" variable x w.r.t. y. the argument is x!

Definition at line 64 of file VariableTransformation.h.

64{ return 2.0 * x * (1.0 - x); }
static double x(const double y)

References x().

◆ x()

static double ProcessLib::TrafoTanh::x ( const double y)

Converts global matrix entry to "physical" variable used in local assembly.

Definition at line 60 of file VariableTransformation.h.

60{ return 0.5 * std::tanh(y) + 0.5; }

Referenced by dxdy().

Member Data Documentation

◆ constrained

const bool ProcessLib::TrafoTanh::constrained = true

Definition at line 56 of file VariableTransformation.h.

The documentation for this struct was generated from the following file: