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

\( f_1 + f_2 - f_1 f_2 \equiv f_1 \cup f_2\) More...

Inheritance diagram for dg::geo::mod::SetUnion:
[legend]

Public Member Functions

 SetUnion (std::function< double(double, double)> fct1, std::function< double(double, double)> fct2)
 
double do_compute (double R, double Z) const
 
- Public Member Functions inherited from dg::geo::aCylindricalFunctor< SetUnion >
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_1 + f_2 - f_1 f_2 \equiv f_1 \cup f_2\)

If f_1 and f_2 are functions between 0 and 1 this operation represents the union of two masking regions

Constructor & Destructor Documentation

◆ SetUnion()

dg::geo::mod::SetUnion::SetUnion ( std::function< double(double, double)>  fct1,
std::function< double(double, double)>  fct2 
)
inline

Member Function Documentation

◆ do_compute()

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

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