OGS
ProcessLib::TrafoScale Struct Reference

Detailed Description

Definition at line 67 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 69 of file VariableTransformation.h.

69 : _factor{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 81 of file VariableTransformation.h.

81 { 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 75 of file VariableTransformation.h.

75 { 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 77 of file VariableTransformation.h.

77 { 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 84 of file VariableTransformation.h.

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

◆ constrained

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

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