SimiLie
Loading...
Searching...
No Matches
sil::multidomains::BoundaryRule Class Reference

A device-copyable choice of the scalar boundary policies. More...

#include <topology.hpp>

Collaboration diagram for sil::multidomains::BoundaryRule:
Collaboration graph

Public Member Functions

 BoundaryRule ()=default
 
 BoundaryRule (tensor::ClampExtrapolationRule)
 
 BoundaryRule (tensor::ZeroExtrapolationRule)
 
 BoundaryRule (tensor::NaturalScalarExtrapolationRule)
 
 BoundaryRule (tensor::PrescribedScalarExtrapolationRule rule)
 
 BoundaryRule (tensor::ConstantScalarExtrapolationRule rule)
 
KOKKOS_FUNCTION bool is_dirichlet () const
 
template<class Domain , class Element >
KOKKOS_FUNCTION auto value (Domain const &domain, Element elem) const
 
KOKKOS_FUNCTION double source_value () const
 
template<class Field , class Element >
KOKKOS_FUNCTION auto operator() (Field const &field, Element elem) const
 

Detailed Description

A device-copyable choice of the scalar boundary policies.

Important
This operator and documentation is fully AI-generated. The selected law and its parameter are runtime data; sampling still invokes the ordinary tensor-library policies. Boundary nodes own no field storage.

Definition at line 23 of file topology.hpp.

Constructor & Destructor Documentation

◆ BoundaryRule() [1/6]

sil::multidomains::BoundaryRule::BoundaryRule ( )
default

◆ BoundaryRule() [2/6]

sil::multidomains::BoundaryRule::BoundaryRule ( tensor::ClampExtrapolationRule )
inline

Definition at line 31 of file topology.hpp.

◆ BoundaryRule() [3/6]

sil::multidomains::BoundaryRule::BoundaryRule ( tensor::ZeroExtrapolationRule )
inline

Definition at line 32 of file topology.hpp.

◆ BoundaryRule() [4/6]

sil::multidomains::BoundaryRule::BoundaryRule ( tensor::NaturalScalarExtrapolationRule )
inline

Definition at line 33 of file topology.hpp.

◆ BoundaryRule() [5/6]

sil::multidomains::BoundaryRule::BoundaryRule ( tensor::PrescribedScalarExtrapolationRule rule)
inline

Definition at line 34 of file topology.hpp.

◆ BoundaryRule() [6/6]

sil::multidomains::BoundaryRule::BoundaryRule ( tensor::ConstantScalarExtrapolationRule rule)
inline

Definition at line 39 of file topology.hpp.

Member Function Documentation

◆ is_dirichlet()

KOKKOS_FUNCTION bool sil::multidomains::BoundaryRule::is_dirichlet ( ) const
inline

Definition at line 45 of file topology.hpp.

◆ value()

template<class Domain , class Element >
KOKKOS_FUNCTION auto sil::multidomains::BoundaryRule::value ( Domain const & domain,
Element elem ) const
inline

Definition at line 51 of file topology.hpp.

◆ source_value()

KOKKOS_FUNCTION double sil::multidomains::BoundaryRule::source_value ( ) const
inline

Definition at line 66 of file topology.hpp.

◆ operator()()

template<class Field , class Element >
KOKKOS_FUNCTION auto sil::multidomains::BoundaryRule::operator() ( Field const & field,
Element elem ) const
inline

Definition at line 71 of file topology.hpp.


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