OGS
ProcessLib::TrafoScale Struct Reference

Detailed Description

Definition at line 57 of file VariableTransformation.h.

#include <VariableTransformation.h>

Public Member Functions

 TrafoScale (const double factor)
double x (const double y) const
double y (const double x) const
double dxdy (const double) const

Static Public Attributes

static const bool constrained = false

Private Attributes

double _factor

Constructor & Destructor Documentation

◆ TrafoScale()

ProcessLib::TrafoScale::TrafoScale ( const double factor)
inlineexplicit

Definition at line 59 of file VariableTransformation.h.

References _factor.

Member Function Documentation

◆ dxdy()

double ProcessLib::TrafoScale::dxdy ( const double ) const
inline

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

Definition at line 71 of file VariableTransformation.h.

71{ return _factor; }

References _factor.

◆ x()

double ProcessLib::TrafoScale::x ( const double y) const
inline

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

Definition at line 65 of file VariableTransformation.h.

65{ return y * _factor; }
double y(const double x) const

References _factor, and y().

Referenced by y().

◆ y()

double ProcessLib::TrafoScale::y ( const double x) const
inline

Definition at line 67 of file VariableTransformation.h.

67{ return x / _factor; }
double x(const double y) const

References _factor, and x().

Referenced by x().

Member Data Documentation

◆ _factor

double ProcessLib::TrafoScale::_factor
private

Definition at line 74 of file VariableTransformation.h.

Referenced by TrafoScale(), dxdy(), x(), and y().

◆ constrained

const bool ProcessLib::TrafoScale::constrained = false
static

Definition at line 61 of file VariableTransformation.h.


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