Zoltan2 Version of the Day
SteppedEquation< T, weighttype > Class Template Reference

Expression is a generic following method. More...

`#include <GeometricGenerator.hpp>`

Inheritance diagram for SteppedEquation< T, weighttype >:
[legend]
Collaboration diagram for SteppedEquation< T, weighttype >:
[legend]

List of all members.

## Public Member Functions

SteppedEquation (T a1_, T a2_, T a3_, T b1_, T b2_, T b3_, T c_, T x1_, T y1_, T z1_, T *steps_, T *values_, int stepCount_)
virtual ~SteppedEquation ()
virtual weighttype get1DWeight (T x)
virtual weighttype get2DWeight (T x, T y)
void print (T x, T y, T z)
virtual weighttype get3DWeight (T x, T y, T z)
virtual weighttype getWeight (CoordinatePoint< T > p)

## Detailed Description

### template<typename T, typename weighttype> class SteppedEquation< T, weighttype >

Expression is a generic following method.

a1 (x - x1)^b1 + a2 (y - y1)^b2 + a3 (z - z1)^b3 + c = expression_result if step values are given expression result is applied to a step function as following. expression_result < step1 value1 < step2 value2 < step3 value3 < step4 value4

Default values, c=1 a1=a2=a3=0 x'=y'=z'=0 b1=b2=b3=0 steps = NULL vals = NULL

Definition at line 225 of file GeometricGenerator.hpp.

## Constructor & Destructor Documentation

template<typename T, typename weighttype>
 SteppedEquation< T, weighttype >::SteppedEquation ( T a1_, T a2_, T a3_, T b1_, T b2_, T b3_, T c_, T x1_, T y1_, T z1_, T * steps_, T * values_, int stepCount_ ) ` [inline]`

Definition at line 235 of file GeometricGenerator.hpp.

template<typename T, typename weighttype>
 virtual SteppedEquation< T, weighttype >::~SteppedEquation ( ) ` [inline, virtual]`

Definition at line 262 of file GeometricGenerator.hpp.

## Member Function Documentation

template<typename T, typename weighttype>
 virtual weighttype SteppedEquation< T, weighttype >::get1DWeight ( T x ) ` [inline, virtual]`

Implements WeightDistribution< T, weighttype >.

Definition at line 270 of file GeometricGenerator.hpp.

template<typename T, typename weighttype>
 virtual weighttype SteppedEquation< T, weighttype >::get2DWeight ( T x, T y ) ` [inline, virtual]`

Implements WeightDistribution< T, weighttype >.

Definition at line 283 of file GeometricGenerator.hpp.

template<typename T, typename weighttype>
 void SteppedEquation< T, weighttype >::print ( T x, T y, T z ) ` [inline]`

Definition at line 296 of file GeometricGenerator.hpp.

template<typename T, typename weighttype>
 virtual weighttype SteppedEquation< T, weighttype >::get3DWeight ( T x, T y, T z ) ` [inline, virtual]`

Implements WeightDistribution< T, weighttype >.

Definition at line 303 of file GeometricGenerator.hpp.

template<typename T, typename weighttype>
 virtual weighttype SteppedEquation< T, weighttype >::getWeight ( CoordinatePoint< T > p ) ` [inline, virtual]`

Implements WeightDistribution< T, weighttype >.

Definition at line 323 of file GeometricGenerator.hpp.

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