Linearize.hpp File Reference

Defines function linearize. More...

#include <cstddef>

Go to the source code of this file.

Functions

template<size_t Dim>
void linearize (gsl::not_null< DataVector *> result, const DataVector &u, const Mesh< Dim > &mesh) noexcept
 Truncate u to a linear function in each dimension. More...
 
template<size_t Dim>
DataVector linearize (const DataVector &u, const Mesh< Dim > &mesh) noexcept
 Truncate u to a linear function in each dimension. More...
 
template<size_t Dim>
void linearize (gsl::not_null< DataVector *> result, const DataVector &u, const Mesh< Dim > &mesh, size_t d) noexcept
 Truncate u to a linear function in the given dimension. More...
 
template<size_t Dim>
DataVector linearize (const DataVector &u, const Mesh< Dim > &mesh, size_t d) noexcept
 Truncate u to a linear function in the given dimension. More...
 

Detailed Description

Defines function linearize.