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

Negation: the solid and the void swap (sdf -> -sdf). More...

#include <sdf.hpp>

Public Member Functions

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

Public Attributes

S shape
 

Detailed Description

template<typename S>
struct peclet::core::geom::Complement< S >

Negation: the solid and the void swap (sdf -> -sdf).

Useful to make a container's interior the fluid (e.g. solid everywhere outside a box).

Definition at line 71 of file sdf.hpp.

Member Function Documentation

◆ eval()

template<typename S >
double peclet::core::geom::Complement< S >::eval ( const Vec< 3 > &  p) const
inline

Definition at line 73 of file sdf.hpp.

References peclet::core::geom::Complement< S >::shape.

Member Data Documentation

◆ shape

Definition at line 72 of file sdf.hpp.

Referenced by peclet::core::geom::Complement< S >::eval().


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