Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
GeometricGen::SteppedEquation< T, weighttype > Class Template Reference

Expression is a generic following method. More...

#include <GeometricGenerator.hpp>

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

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)
 
- Public Member Functions inherited from GeometricGen::WeightDistribution< T, weighttype >
 WeightDistribution ()
 
virtual ~WeightDistribution ()
 

Detailed Description

template<typename T, typename weighttype>
class GeometricGen::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 358 of file GeometricGenerator.hpp.

Constructor & Destructor Documentation

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

Definition at line 368 of file GeometricGenerator.hpp.

template<typename T, typename weighttype>
virtual GeometricGen::SteppedEquation< T, weighttype >::~SteppedEquation ( )
inlinevirtual

Definition at line 395 of file GeometricGenerator.hpp.

Member Function Documentation

template<typename T, typename weighttype>
virtual weighttype GeometricGen::SteppedEquation< T, weighttype >::get1DWeight ( x)
inlinevirtual
template<typename T, typename weighttype>
virtual weighttype GeometricGen::SteppedEquation< T, weighttype >::get2DWeight ( x,
y 
)
inlinevirtual
template<typename T, typename weighttype>
void GeometricGen::SteppedEquation< T, weighttype >::print ( x,
y,
z 
)
inline

Definition at line 429 of file GeometricGenerator.hpp.

template<typename T, typename weighttype>
virtual weighttype GeometricGen::SteppedEquation< T, weighttype >::get3DWeight ( x,
y,
z 
)
inlinevirtual
template<typename T, typename weighttype>
virtual weighttype GeometricGen::SteppedEquation< T, weighttype >::getWeight ( CoordinatePoint< T >  p)
inlinevirtual

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