Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
fe_expr_base.hpp File Reference
#include <algorithm>
#include <cstddef>
#include <utility>
#include <vector>
#include "vulpes/fe/fe_space.hpp"
#include "vulpes/fe/fe_values.hpp"
#include "vulpes/utils/macros.hpp"
Include dependency graph for fe_expr_base.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vulpes::fe::FeExpressionBase< Dim, FeExpression >
 Base class for Finite Element Expressions. More...

Namespaces

namespace  vulpes
namespace  vulpes::fe
namespace  vulpes::fe::internal

Typedefs

template<std::size_t Dim>
using vulpes::fe::CellType = geometry::Cell<Dim, double, int32_t>
template<std::size_t Dim>
using vulpes::fe::CellsType = std::vector<std::unique_ptr<CellType<Dim>>>

Enumerations

enum  vulpes::fe::IntegrationForm : uint8_t { vulpes::fe::IsNothing = 0 , vulpes::fe::IsLinearTest = 1 , vulpes::fe::IsLinearTrial = 2 , vulpes::fe::IsBilinear = IsLinearTest | IsLinearTrial }
 Enumeration for the type of integration form (presence of test/trial functions). More...

Functions

static VULPES_ALWAYS_INLINE auto vulpes::fe::internal::hcat (const auto &u, const auto &v)
 Horizontally concatenate two matrices that have the same number of rows.
template<typename FromMat, typename ToPoly>
auto vulpes::fe::internal::liftConstant (const FromMat &m)
 Convert a matrix of scalars into a matrix of polynomials (constant polynomials).
template<typename FromMat, typename ToPoly>
auto vulpes::fe::internal::liftDimension (const FromMat &m)
 Convert a matrix of polynomials of lower dimension into a matrix of polynomials of higher dimension (by lifting them).
static VULPES_ALWAYS_INLINE auto vulpes::fe::internal::lift_to_same_space (const auto &u, const auto &v)
 Given two matrices of polynomials u and v, lift the one with lower dimension to the higher dimension, so that both have the same polynomial type.
static VULPES_ALWAYS_INLINE auto vulpes::fe::internal::cartesian_hcat (const auto &u, const auto &v)
 Horizontal concatenation of the cartesian product of the columns of two matrices.