OISEAU
A modern DGTD framework
Loading...
Searching...
No Matches
element.hpp
1
// Copyright (C) 2025 Tiago V. L. Amorim (@tiagovla)
2
//
3
// This file is part of oiseau (https://github.com/tiagovla/oiseau)
4
//
5
// SPDX-License-Identifier: GPL-3.0-or-later
6
7
#pragma once
8
9
#include <memory>
10
#include <xtensor/core/xtensor_forward.hpp>
11
12
#include "oiseau/dg/nodal/ref_element.hpp"
13
namespace
oiseau::dg::nodal {
14
15
class
Element {
16
public
:
17
Element(std::shared_ptr<RefElement> ref_elem, xt::xarray<double> nodes);
18
19
const
RefElement
& reference()
const
;
20
unsigned
order()
const
;
21
const
xt::xarray<double>& nodes()
const
;
22
23
private
:
24
std::shared_ptr<RefElement> m_reference;
25
xt::xarray<double> m_nodes;
26
};
27
}
// namespace oiseau::dg::nodal
oiseau::dg::nodal::RefElement
Definition
ref_element.hpp:19
src
oiseau
dg
nodal
element.hpp
Generated by
1.15.0