core 1.8.1
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (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 79 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 81 of file sdf.hpp.

References shape.

Member Data Documentation

◆ shape

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

Definition at line 80 of file sdf.hpp.

Referenced by eval().


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