typename SymmetricTensorAccessors::
StorageType<2, dim, Number>::base_tensor_type &data)
{
- static_assert(dim <= 3, "The selected dimension is not yet supported.");
-
// 1d is very simple and done first
if (dim == 1)
return data[0];
const typename SymmetricTensorAccessors::
StorageType<2, dim, Number>::base_tensor_type &data)
{
- static_assert(dim <= 3, "The selected dimension is not yet supported.");
-
// 1d is very simple and done first
if (dim == 1)
return data[0];
typename SymmetricTensorAccessors::
StorageType<4, dim, Number>::base_tensor_type &data)
{
- static_assert(dim <= 3, "The selected dimension is not yet supported.");
-
switch (dim)
{
case 1:
const typename SymmetricTensorAccessors::
StorageType<4, dim, Number>::base_tensor_type &data)
{
- static_assert(dim <= 3, "The selected dimension is not yet supported.");
-
switch (dim)
{
case 1: