Extension: Geometries
#include "dg/geometries/geometries.h"

\( f(R,Z)= \begin{cases} 0 \text{ if } Z < Z_X \\ 1 \text{ else } \end{cases} \) More...

Inheritance diagram for dg::geo::ZCutter:
[legend]

Public Member Functions

 ZCutter (double ZX, int sign=+1)
 
double do_compute (double R, double Z) const
 
- Public Member Functions inherited from dg::geo::aCylindricalFunctor< ZCutter >
double operator() (double R, double Z) const
  do_compute(R,Z) More...
 
double operator() (double R, double Z, double phi) const
  do_compute(R,Z) More...
 

Detailed Description

\( f(R,Z)= \begin{cases} 0 \text{ if } Z < Z_X \\ 1 \text{ else } \end{cases} \)

Note
the 1 is inclusive i.e. if Z == Z_X the functor always returns 1

Constructor & Destructor Documentation

◆ ZCutter()

dg::geo::ZCutter::ZCutter ( double  ZX,
int  sign = +1 
)
inline

Member Function Documentation

◆ do_compute()

double dg::geo::ZCutter::do_compute ( double  R,
double  Z 
) const
inline

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