SimiLie
Loading...
Searching...
No Matches
sil::exterior::Laplacian< MetricIndex, Index, Cochain, Tensor, Metric, Position, Exec, Hodge > Class Template Reference

Hodge Laplacian assembled from independently selected Hodge-star policies. More...

#include <laplacian.hpp>

Collaboration diagram for sil::exterior::Laplacian< MetricIndex, Index, Cochain, Tensor, Metric, Position, Exec, Hodge >:
Collaboration graph

Public Types

using staged_storage_type
 

Public Member Functions

 Laplacian (Exec const &exec, Tensor const &output, Tensor const &input, Metric const &metric, Position const &position)
 
template<class Primal = tensor::ClampExtrapolationRule, class Dual = tensor::ZeroExtrapolationRule>
Tensor operator() (Tensor const &output, Tensor const &input, Primal const &primal={}, Dual const &dual={})
 

Static Public Member Functions

template<class Geometry , class Evaluate , class Element , class Primal , class Dual >
static KOKKOS_FORCEINLINE_FUNCTION auto operator() (Geometry const &staged, Tensor const &input, Evaluate const &evaluate, Element element, Primal const &primal, Dual const &dual)
 
template<class Geometry , class Element , class Primal , class Dual >
static KOKKOS_FORCEINLINE_FUNCTION auto value (Geometry const &geometry, Tensor const &input, Element element, Primal const &primal, Dual const &dual)
 Complete fixed stencil at one node, including component couplings.
 
template<class Geometry , class Element , class Component , class Primal , class Dual >
static KOKKOS_FORCEINLINE_FUNCTION double value (Geometry const &staged, Tensor const &input, Element element, Component target, std::size_t column, Primal const &primal, Dual const &dual)
 

Detailed Description

template<tensor::TensorIndex MetricIndex, tensor::TensorNatIndex Index, tensor::TensorIndex Cochain, CochainType Tensor, misc::Specialization< tensor::Tensor > Metric, misc::Specialization< tensor::Tensor > Position, class Exec, template< CellComplex, class, class, class, class, class > class Hodge = DiscreteHodgeStar>
class sil::exterior::Laplacian< MetricIndex, Index, Cochain, Tensor, Metric, Position, Exec, Hodge >

Hodge Laplacian assembled from independently selected Hodge-star policies.

Important
This operator and documentation is fully AI-generated. DiscreteHodgeStar evaluates geometry during application. Wrapping it in StagedOperator freezes Hodge coefficients at construction. The same incidence operators, intermediate cochains and boundary closures are used in both cases. Policies have the DiscreteHodgeStar template signature and pointwise API. Stateful policies are constructed with (execution space, metric, positions); stateless policies may be default-constructed.

Definition at line 587 of file exterior/laplacian/laplacian.hpp.

Member Typedef Documentation

◆ staged_storage_type

template<tensor::TensorIndex MetricIndex, tensor::TensorNatIndex Index, tensor::TensorIndex Cochain, CochainType Tensor, misc::Specialization< tensor::Tensor > Metric, misc::Specialization< tensor::Tensor > Position, class Exec , template< CellComplex, class, class, class, class, class > class Hodge = DiscreteHodgeStar>
using sil::exterior::Laplacian< MetricIndex, Index, Cochain, Tensor, Metric, Position, Exec, Hodge >::staged_storage_type
Initial value:
detail::
LinearSpatialOperatorStorage<Laplacian, Index, Cochain, Cochain, 2, Tensor, Exec, true>

Definition at line 614 of file exterior/laplacian/laplacian.hpp.

Constructor & Destructor Documentation

◆ Laplacian()

template<tensor::TensorIndex MetricIndex, tensor::TensorNatIndex Index, tensor::TensorIndex Cochain, CochainType Tensor, misc::Specialization< tensor::Tensor > Metric, misc::Specialization< tensor::Tensor > Position, class Exec , template< CellComplex, class, class, class, class, class > class Hodge = DiscreteHodgeStar>
sil::exterior::Laplacian< MetricIndex, Index, Cochain, Tensor, Metric, Position, Exec, Hodge >::Laplacian ( Exec const & exec,
Tensor const & output,
Tensor const & input,
Metric const & metric,
Position const & position )
inline

Definition at line 617 of file exterior/laplacian/laplacian.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<tensor::TensorIndex MetricIndex, tensor::TensorNatIndex Index, tensor::TensorIndex Cochain, CochainType Tensor, misc::Specialization< tensor::Tensor > Metric, misc::Specialization< tensor::Tensor > Position, class Exec , template< CellComplex, class, class, class, class, class > class Hodge = DiscreteHodgeStar>
template<class Primal = tensor::ClampExtrapolationRule, class Dual = tensor::ZeroExtrapolationRule>
Tensor sil::exterior::Laplacian< MetricIndex, Index, Cochain, Tensor, Metric, Position, Exec, Hodge >::operator() ( Tensor const & output,
Tensor const & input,
Primal const & primal = {},
Dual const & dual = {} )
inline

Definition at line 634 of file exterior/laplacian/laplacian.hpp.

◆ operator()() [2/2]

template<tensor::TensorIndex MetricIndex, tensor::TensorNatIndex Index, tensor::TensorIndex Cochain, CochainType Tensor, misc::Specialization< tensor::Tensor > Metric, misc::Specialization< tensor::Tensor > Position, class Exec , template< CellComplex, class, class, class, class, class > class Hodge = DiscreteHodgeStar>
template<class Geometry , class Evaluate , class Element , class Primal , class Dual >
static KOKKOS_FORCEINLINE_FUNCTION auto sil::exterior::Laplacian< MetricIndex, Index, Cochain, Tensor, Metric, Position, Exec, Hodge >::operator() ( Geometry const & staged,
Tensor const & input,
Evaluate const & evaluate,
Element element,
Primal const & primal,
Dual const & dual )
inlinestatic

Definition at line 738 of file exterior/laplacian/laplacian.hpp.

◆ value() [1/2]

template<tensor::TensorIndex MetricIndex, tensor::TensorNatIndex Index, tensor::TensorIndex Cochain, CochainType Tensor, misc::Specialization< tensor::Tensor > Metric, misc::Specialization< tensor::Tensor > Position, class Exec , template< CellComplex, class, class, class, class, class > class Hodge = DiscreteHodgeStar>
template<class Geometry , class Element , class Primal , class Dual >
static KOKKOS_FORCEINLINE_FUNCTION auto sil::exterior::Laplacian< MetricIndex, Index, Cochain, Tensor, Metric, Position, Exec, Hodge >::value ( Geometry const & geometry,
Tensor const & input,
Element element,
Primal const & primal,
Dual const & dual )
inlinestatic

Complete fixed stencil at one node, including component couplings.

Important
This documentation is fully AI-generated. Two incidence operations reach Manhattan distance two. The fixed support also covers reflected linear boundary closures. All entries are retained.

Definition at line 802 of file exterior/laplacian/laplacian.hpp.

◆ value() [2/2]

template<tensor::TensorIndex MetricIndex, tensor::TensorNatIndex Index, tensor::TensorIndex Cochain, CochainType Tensor, misc::Specialization< tensor::Tensor > Metric, misc::Specialization< tensor::Tensor > Position, class Exec , template< CellComplex, class, class, class, class, class > class Hodge = DiscreteHodgeStar>
template<class Geometry , class Element , class Component , class Primal , class Dual >
static KOKKOS_FORCEINLINE_FUNCTION double sil::exterior::Laplacian< MetricIndex, Index, Cochain, Tensor, Metric, Position, Exec, Hodge >::value ( Geometry const & staged,
Tensor const & input,
Element element,
Component target,
std::size_t column,
Primal const & primal,
Dual const & dual )
inlinestatic

Definition at line 819 of file exterior/laplacian/laplacian.hpp.


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