core
Shared MPI block decomposition + asynchronous ghost-layer exchange (header-only C++20)
Loading...
Searching...
No Matches
peclet::core::geom::Sphere Struct Reference

Solid ball: negative inside. More...

#include <sdf.hpp>

Public Member Functions

double eval (const Vec< 3 > &p) const
 

Public Attributes

Vec< 3 > center {}
 
double radius = 1.0
 

Detailed Description

Solid ball: negative inside.

Definition at line 31 of file sdf.hpp.

Member Function Documentation

◆ eval()

double peclet::core::geom::Sphere::eval ( const Vec< 3 > &  p) const
inline

Member Data Documentation

◆ center

Vec<3> peclet::core::geom::Sphere::center {}

Definition at line 32 of file sdf.hpp.

Referenced by eval().

◆ radius

double peclet::core::geom::Sphere::radius = 1.0

Definition at line 33 of file sdf.hpp.

Referenced by eval().


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