Classes | Functions

internal::SymmetricTensorAccessors Namespace Reference

Classes

struct  double_contraction_result
struct  double_contraction_result< 2, 2, dim, Number >
struct  StorageType< 2, dim, Number >
struct  StorageType< 4, dim, Number >
struct  AccessorTypes< rank, dim, true, Number >
struct  AccessorTypes< rank, dim, false, Number >
class  Accessor
class  Accessor< rank, dim, constness, 1, Number >

Functions

TableIndices< 2 > merge (const TableIndices< 2 > &previous_indices, const unsigned int new_index, const unsigned int position)
TableIndices< 4 > merge (const TableIndices< 4 > &previous_indices, const unsigned int new_index, const unsigned int position)

Detailed Description

A namespace for classes that are internal to how the SymmetricTensor class works.


Function Documentation

TableIndices<2> internal::SymmetricTensorAccessors::merge ( const TableIndices< 2 > &  previous_indices,
const unsigned int  new_index,
const unsigned int  position 
) [inline]

Create a TableIndices<2> object where the first entries up to position-1 are taken from previous_indices, and new_index is put at position position. The remaining indices remain in invalid state.

Definition at line 62 of file symmetric_tensor.h.

References Assert, and StandardExceptions::ExcIndexRange().

Referenced by NamedData< DATA >::operator=().

TableIndices<4> internal::SymmetricTensorAccessors::merge ( const TableIndices< 4 > &  previous_indices,
const unsigned int  new_index,
const unsigned int  position 
) [inline]

Create a TableIndices<4> object where the first entries up to position-1 are taken from previous_indices, and new_index is put at position position. The remaining indices remain in invalid state.

Definition at line 88 of file symmetric_tensor.h.

References Assert, StandardExceptions::ExcIndexRange(), and StandardExceptions::ExcInternalError().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Fri Feb 3 2012 06:04:14 by doxygen 1.7.2