|
Medusa
1.1
Coordinate Free Mehless Method implementation
|
|
Go to the documentation of this file. 1 #ifndef MEDUSA_BITS_OPERATORS_UNIFORMSHAPESTORAGE_FWD_HPP_
2 #define MEDUSA_BITS_OPERATORS_UNIFORMSHAPESTORAGE_FWD_HPP_
53 template <
typename vec_t,
typename OpFamilies =
54 std::tuple<Lap<vec_t::dim>, Der1s<vec_t::dim>, Der2s<vec_t::dim>>>
56 public ShapeStorage<UniformShapeStorage<vec_t, OpFamilies>, vec_t, OpFamilies> {
91 void resize_(
const std::vector<int>& support_sizes);
94 template <
typename T> T*
access(std::vector<T>& v,
int op,
int node)
const {
97 template <
typename T> T*
access(std::vector<T>& v,
int node)
const {
100 template <
typename T>
const T*
access(
const std::vector<T>& v,
int op,
int node)
const {
103 template <
typename T>
const T*
access(
const std::vector<T>& v,
int node)
const {
109 #endif // MEDUSA_BITS_OPERATORS_UNIFORMSHAPESTORAGE_FWD_HPP_
Root namespace for the whole library.
Scalar scalar_t
Type of the elements, alias of Scalar.
int domain_size_
Total number of nodes.
@ dim
Number of elements of this matrix.
constexpr static int num_operators
Number of operator families in this storage.
Shape storage base class.
std::array< Range< scalar_t >, num_operators > shapes_
Tuple of shape containers for given operators.
Range< int > support_
Local copy of support domains.
int size() const
Returns number of nodes.