core 1.5.0
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
Loading...
Searching...
No Matches
peclet::core::geom::prim::Complement< Shape > Struct Template Reference

Negation: solid and void swap. Composes with any leaf (a container is the complement of a body). More...

#include <primitives.hpp>

Public Member Functions

template<class Real >
PECLET_HD Real eval (Vec3< Real > p) const
 
template<class Real >
PECLET_HD Vec3< Real > grad (Vec3< Real > p) const
 

Public Attributes

Shape shape
 

Static Public Attributes

static constexpr bool exact_distance = Shape::exact_distance
 
static constexpr bool analytic_gradient = Shape::analytic_gradient
 

Detailed Description

template<class Shape>
struct peclet::core::geom::prim::Complement< Shape >

Negation: solid and void swap. Composes with any leaf (a container is the complement of a body).

Definition at line 424 of file primitives.hpp.

Member Function Documentation

◆ eval()

template<class Shape >
template<class Real >
PECLET_HD Real peclet::core::geom::prim::Complement< Shape >::eval ( Vec3< Real >  p) const
inline

◆ grad()

Member Data Documentation

◆ shape

◆ exact_distance

template<class Shape >
constexpr bool peclet::core::geom::prim::Complement< Shape >::exact_distance = Shape::exact_distance
staticconstexpr

Definition at line 426 of file primitives.hpp.

◆ analytic_gradient

template<class Shape >
constexpr bool peclet::core::geom::prim::Complement< Shape >::analytic_gradient = Shape::analytic_gradient
staticconstexpr

Definition at line 427 of file primitives.hpp.


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