You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
491 B
16 lines
491 B
8 months ago
|
#pragma once
|
||
|
|
||
|
#include "utils/eigen_alias.hpp"
|
||
|
|
||
|
class ImplicitFunction
|
||
|
{
|
||
|
public:
|
||
|
template <size_t Dim>
|
||
|
double evaluate_scalar(const Eigen::Ref<const Eigen::Vector<double, Dim>>& pos) const;
|
||
|
|
||
|
template <size_t Dim>
|
||
|
Eigen::Vector<double, Dim> evaluate_gradient(const Eigen::Ref<const Eigen::Vector<double, Dim>>& pos) const;
|
||
|
|
||
|
template <size_t Dim>
|
||
|
Eigen::Vector<double, Dim + 1> evaluate_scalar_gradient(const Eigen::Ref<const Eigen::Vector<double, Dim>>& pos) const;
|
||
|
};
|