Discontinuous Galerkin Library
#include "dg/algorithm.h"

\( f(x,y) = \sqrt{ (x-x_0)^2 + (y-y_0)^2} \) More...

Public Member Functions

 Distance (double x0, double y0)
 
DG_DEVICE double operator() (double x, double y)
 

Detailed Description

\( f(x,y) = \sqrt{ (x-x_0)^2 + (y-y_0)^2} \)

Constructor & Destructor Documentation

◆ Distance()

dg::Distance::Distance ( double  x0,
double  y0 
)
inline

Member Function Documentation

◆ operator()()

DG_DEVICE double dg::Distance::operator() ( double  x,
double  y 
)
inline

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