SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
surface_potential.cpp File Reference
#include "serif/backend/mfem/model/surface_potential.hpp"
#include <cmath>
#include <algorithm>
#include <array>
#include <limits>
#include <memory>
#include <vector>
#include "mfem/fem/intrules.hpp"
#include "serif/backend/mfem/shared/boundary_elements.hpp"
#include "serif/backend/mfem/shared/parallel.hpp"
#include "serif/backend/mfem/geometry/deformation/reference_geometry.hpp"
Include dependency graph for surface_potential.cpp:

Namespaces

namespace  serif
 
namespace  serif::model
 
namespace  serif::model::backend
 
namespace  serif::model::backend::mfem
 

Functions

SurfacePotentialLinearization serif::model::backend::mfem::assemble_surface_potential (const equations::SurfacePotentialBalance &equation, const geometry::deformation::backend::mfem::SurfaceDiscretization &discretization, const geometry::deformation::ReferenceSurface &reference, const geometry::deformation::SurfaceEmbedding &embedding, std::span< const double > displacement, const discretization::backend::mfem::DofMap &potential_binding, const ::mfem::Vector &potential, double level, double angular_velocity)
 Integrate the effective-potential balance using dS_reference / area_reference.