1#ifndef _RHEOLEF_ROUND_H
2#define _RHEOLEF_ROUND_H
23#include "rheolef/rounder.h"
24#include "rheolef/field_expr.h"
28template<
class Expr,
class T2>
31 details::is_field_expr_affine_homogeneous<Expr>::value
33 typename Expr::scalar_type
34 ,
typename Expr::memory_type
41 typedef typename Expr::scalar_type
T;
42 typedef typename Expr::memory_type
M;
45 "round(field_expr, prec): field_expr should have homogeneous space. HINT: use round(interpolate(Xh, field_expr), prec)");
check_macro(expr1.have_homogeneous_space(Xh1), "dual(expr1,expr2); expr1 should have homogeneous space. HINT: use dual(interpolate(Xh, expr1),expr2)")
This file is part of Rheolef.
std::enable_if< details::is_field_expr_affine_homogeneous< Expr >::value, field_basic< typenameExpr::scalar_type, typenameExpr::memory_type > >::type round(const Expr &expr, const T2 &prec)
rounder_type< T > rounder(const T &prec)