SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
system.cpp File Reference
#include "system_data.hpp"
#include <algorithm>
#include <array>
#include <cmath>
#include <utility>
#include "serif/utils/error/errors.hpp"
Include dependency graph for system.cpp:

Namespaces

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

Functions

void serif::model::backend::mfem::detail::validate_range (int offset, int size, int extent)
 Reject invalid subranges without overflowing integer additions.
 
std::shared_ptr< const PhysicalSystem > serif::model::backend::mfem::make_physical_system (int residual_size, int state_size, std::vector< ResidualContribution > residuals, std::vector< JacobianContribution > jacobian, std::vector< RowReplacement > replacements={}, std::shared_ptr< const void > owner={}, std::optional< std::vector< JacobianContribution > > complete_actions={})
 Publish an immutable evaluated system that remains independent of later graph preparation.