#include <src/ftensor/src/FTensor/Tensor1/Tensor1_value.hpp>
|
template<class... U> |
constexpr | Tensor1 (U... d) |
|
constexpr | Tensor1 () |
|
T & | operator() (const int N) |
|
T | operator() (const int N) const |
|
template<char i, int Dim> |
std::enable_if<(Tensor_Dim >=Dim), Tensor1_Expr< Tensor1< T, Tensor_Dim >, T, Dim, i > >::type | operator() (const Index< i, Dim > &) |
|
template<char i, int Dim> |
std::enable_if<(Tensor_Dim >=Dim), Tensor1_Expr< const Tensor1< T, Tensor_Dim >, T, Dim, i > >::type | operator() (const Index< i, Dim > &) const |
|
Tensor1< T, Tensor_Dim > | normalize () |
|
T | l2 () const |
|
template<int Current_Dim> |
T | l2_squared (const Number< Current_Dim > &) const |
|
T | l2_squared (const Number< 1 > &) const |
|
template<class T, int Tensor_Dim>
class FTensor::Tensor1< T, Tensor_Dim >
- Examples
- ADOLCPlasticity.hpp, ContactOps.hpp, continuity_check_on_skeleton_with_simple_2d_for_hdiv.cpp, dynamic_first_order_con_law.cpp, elasticity.cpp, ElasticityMixedFormulation.hpp, EshelbianOperators.cpp, field_blas.cpp, hanging_node_approx.cpp, hcurl_check_approx_in_2d.cpp, hdiv_check_approx_in_3d.cpp, HenckyOps.hpp, higher_derivatives.cpp, HookeElement.cpp, HookeElement.hpp, HookeInternalStressElement.hpp, level_set.cpp, lorentz_force.cpp, MagneticElement.hpp, matrix_function.cpp, mixed_poisson.cpp, mortar_contact_thermal.cpp, NavierStokesElement.cpp, PlasticOpsGeneric.hpp, PlasticOpsSmallStrains.hpp, plot_base.cpp, poisson_2d_dis_galerkin.cpp, PoissonDiscontinousGalerkin.hpp, Remodeling.cpp, scalar_check_approximation.cpp, shallow_wave.cpp, simple_contact_thermal.cpp, and simple_elasticity.cpp.
Definition at line 8 of file Tensor1_value.hpp.
◆ Tensor1() [1/2]
template<class T , int Tensor_Dim>
template<class... U>
Definition at line 14 of file Tensor1_value.hpp.
16 static_assert(
sizeof...(
d) ==
sizeof(
data) /
sizeof(T),
17 "Incorrect number of Arguments. Constructor should "
18 "initialize the entire Tensor");
◆ Tensor1() [2/2]
template<class T , int Tensor_Dim>
◆ l2()
template<class T , int Tensor_Dim>
◆ l2_squared() [1/2]
template<class T , int Tensor_Dim>
◆ l2_squared() [2/2]
template<class T , int Tensor_Dim>
template<int Current_Dim>
◆ normalize()
template<class T , int Tensor_Dim>
◆ operator()() [1/4]
template<class T , int Tensor_Dim>
template<char i, int Dim>
◆ operator()() [2/4]
template<class T , int Tensor_Dim>
template<char i, int Dim>
◆ operator()() [3/4]
template<class T , int Tensor_Dim>
Definition at line 26 of file Tensor1_value.hpp.
29 if(
N >= Tensor_Dim ||
N < 0)
32 s <<
"Bad index in Tensor1<T," << Tensor_Dim <<
">.operator(" <<
N
34 throw std::out_of_range(s.str());
◆ operator()() [4/4]
template<class T , int Tensor_Dim>
Definition at line 39 of file Tensor1_value.hpp.
42 if(
N >= Tensor_Dim ||
N < 0)
45 s <<
"Bad index in Tensor1<T," << Tensor_Dim <<
">.operator(" <<
N
46 <<
") const" << std::endl;
47 throw std::out_of_range(s.str());
◆ data
template<class T , int Tensor_Dim>
The documentation for this class was generated from the following file:
const Tensor1_Expr< const dTensor0< T, Dim, i >, typename promote< T, double >::V, Dim, i > d(const Tensor0< T * > &a, const Index< i, Dim > index, const Tensor1< int, Dim > &d_ijk, const Tensor1< double, Dim > &d_xyz)