peclet.voro 1.0.4
Device-native moving-particle Voronoi dynamics
Loading...
Searching...
No Matches
tension.hpp File Reference

Track B, rung B1: uniform facet tension E = σ Σ_faces A_f (every interior face once) — the "roundness" term of grid generation (surface tension on all faces shrinks total face area, which rounds the cells) — on the published view through the facet-edge area Jacobians, routed by energy/route.hpp. Wall facets are not included (their area is the wetting term's). More...

#include <Kokkos_Core.hpp>
#include "peclet/voro/energy/route.hpp"
#include "peclet/voro/tessellation_view.hpp"
Include dependency graph for tension.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  peclet
 
namespace  peclet::voro
 Device-native Voronoi tessellation, geometry and finite-volume physics.
 
namespace  peclet::voro::energy
 

Functions

template<class Real , class Policy = Voronoi, class Sdf = NoSdf>
Real peclet::voro::energy::facetTensionEnergyForce (const TessellationView< Real > &view, Real sigma, const Kokkos::View< Real *, peclet::core::MemSpace > &pos, const Kokkos::View< Real *, peclet::core::MemSpace > &weight, Real L, const Kokkos::View< Real *, peclet::core::MemSpace > &force, const Kokkos::View< Real *, peclet::core::MemSpace > &forceW={}, const Sdf &sdf=Sdf{})
 

Detailed Description

Track B, rung B1: uniform facet tension E = σ Σ_faces A_f (every interior face once) — the "roundness" term of grid generation (surface tension on all faces shrinks total face area, which rounds the cells) — on the published view through the facet-edge area Jacobians, routed by energy/route.hpp. Wall facets are not included (their area is the wetting term's).