SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
geometry_step.cpp File Reference
#include "serif/backend/mfem/geometry/deformation/geometry_step.hpp"
#include <algorithm>
#include <cmath>
#include <exception>
#include <limits>
#include <optional>
#include <utility>
#include <vector>
#include "mfem/fem/gridfunc.hpp"
#include "mfem/fem/pfespace.hpp"
#include "serif/geometry/deformation/detail/determinant_polynomial.hpp"
#include "serif/backend/mfem/mapping/domain_mapper.hpp"
#include "serif/backend/mfem/shared/finite.hpp"
#include "serif/backend/mfem/shared/parallel.hpp"
Include dependency graph for geometry_step.cpp:

Namespaces

namespace  serif
 
namespace  serif::geometry
 
namespace  serif::geometry::deformation
 
namespace  serif::geometry::deformation::backend
 
namespace  serif::geometry::deformation::backend::mfem
 

Functions

std::expected< GeometryStepLimit, DeformationFailure > serif::geometry::deformation::backend::mfem::estimate_geometry_step_limit (const mapping::DomainMapper &mapper, const ::mfem::FiniteElementSpace &displacement_space, const ::mfem::GridFunction &compactification_coordinate, const ::mfem::Vector &accepted_displacement, const ::mfem::Vector &displacement_direction, std::span< const GeometrySampleRule > sample_rules, GeometryStepOptions options={})
 Find the first sampled mapping boundary along accepted + step direction.