SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
surface_embedding.cpp File Reference
#include "serif/geometry/deformation/surface_embedding.hpp"
#include <algorithm>
#include <cmath>
#include <limits>
#include <utility>
#include "serif/geometry/deformation/detail/harmonics.hpp"
#include "serif/geometry/deformation/detail/action_storage.hpp"
Include dependency graph for surface_embedding.cpp:

Namespaces

namespace  serif
 
namespace  serif::geometry
 
namespace  serif::geometry::deformation
 

Functions

std::expected< SurfaceEmbedding, DeformationFailure > serif::geometry::deformation::build_surface_embedding (const NodalRadialSurface &model, std::span< const std::array< double, 3 > > positions)
 Compile fixed radial directions from ordered physical reference positions without retaining backend objects.
 
std::expected< SurfaceEmbedding, DeformationFailure > serif::geometry::deformation::build_surface_embedding (const SphericalHarmonicSurface &model, std::span< const std::array< double, 3 > > positions)
 Sample physically normalized real harmonics and reject unresolved modes without renormalizing or dropping coordinates.