Classes | Namespaces | Functions
Tensor.hpp File Reference

Defines classes for Tensor. More...

#include <cstddef>
#include "DataStructures/ComplexDataVector.hpp"
#include "DataStructures/ComplexModalVector.hpp"
#include "DataStructures/DataVector.hpp"
#include "DataStructures/ModalVector.hpp"
#include "DataStructures/SpinWeighted.hpp"
#include "DataStructures/Tensor/Expressions/Contract.hpp"
#include "DataStructures/Tensor/Expressions/TensorExpression.hpp"
#include "DataStructures/Tensor/IndexType.hpp"
#include "DataStructures/Tensor/Structure.hpp"
#include "DataStructures/Tensor/TypeAliases.hpp"
#include "ErrorHandling/Error.hpp"
#include "Parallel/PupStlCpp11.hpp"
#include "Utilities/ForceInline.hpp"
#include "Utilities/Gsl.hpp"
#include "Utilities/MakeArray.hpp"
#include "Utilities/MakeWithValue.hpp"
#include "Utilities/PrettyType.hpp"
#include "Utilities/Requires.hpp"
#include "Utilities/StdHelpers.hpp"
#include "Utilities/TMPL.hpp"
#include "Utilities/TypeTraits.hpp"

Go to the source code of this file.

Classes

class  Tensor< X, Symm, IndexList< Indices... > >
 Represents an object with multiple components. More...
 
struct  MakeWithValueImpls::MakeWithValueImpl< Tensor< DataVector, Structure... >, DataVector >
 
struct  MakeWithValueImpls::MakeWithValueImpl< DataVector, Tensor< DataVector, Structure... > >
 
struct  MakeWithValueImpls::MakeWithValueImpl< Tensor< DataVector, StructureOut... >, Tensor< DataVector, StructureIn... > >
 
struct  MakeWithValueImpls::MakeWithValueImpl< Tensor< double, Structure... >, double >
 
struct  MakeWithValueImpls::MakeWithValueImpl< double, Tensor< double, Structure... > >
 
struct  MakeWithValueImpls::MakeWithValueImpl< Tensor< double, StructureOut... >, Tensor< double, StructureIn... > >
 

Namespaces

 MakeWithValueImpls
 Implementations of make_with_value.
 

Functions

template<int... N, typename... Args>
constexpr Tensor< Args... >::reference get (Tensor< Args... > &t) noexcept
 
template<int... N, typename... Args>
constexpr Tensor< Args... >::const_reference get (const Tensor< Args... > &t) noexcept
 
template<typename X , typename Symm , template< typename... > class IndexList, typename... Indices>
bool operator== (const Tensor< X, Symm, IndexList< Indices... >> &lhs, const Tensor< X, Symm, IndexList< Indices... >> &rhs) noexcept
 
template<typename X , typename Symm , template< typename... > class IndexList, typename... Indices>
bool operator!= (const Tensor< X, Symm, IndexList< Indices... >> &lhs, const Tensor< X, Symm, IndexList< Indices... >> &rhs) noexcept
 
template<int I, class... Ts>
constexpr size_t index_dim (const Tensor< Ts... > &) noexcept
 Get dimensionality of i'th tensor index. More...
 
template<typename X , typename Symm , template< typename... > class IndexList, typename... Indices>
std::ostreamoperator<< (std::ostream &os, const Tensor< X, Symm, IndexList< Indices... >> &x) noexcept
 

Detailed Description

Defines classes for Tensor.