FourthOrderTensor2< DIM > Class Template Reference

#include <FourthOrderTensor2.hpp>

Collaboration diagram for FourthOrderTensor2< DIM >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void SetAsProduct (FourthOrderTensor2< DIM > &tensor, const c_matrix< double, DIM, DIM > &matrix, unsigned component)
double & operator() (unsigned M, unsigned N, unsigned P, unsigned Q)
void Zero ()

Private Attributes

std::vector< double > mData
unsigned mDimSqd
unsigned mDimCubed
unsigned mDimToFour


Detailed Description

template<int DIM>
class FourthOrderTensor2< DIM >

FourthOrderTensor

A class of fourth order tensors (ie tensors with four indices), over arbitrary dimension

Definition at line 49 of file FourthOrderTensor2.hpp.


Member Function Documentation

template<int DIM>
void FourthOrderTensor2< DIM >::SetAsProduct ( FourthOrderTensor2< DIM > &  tensor,
const c_matrix< double, DIM, DIM > &  matrix,
unsigned  component 
) [inline]

Set to be the inner product of another fourth order tensor and a matrix

Parameters:
tensor A fourth order tensor
matrix A Deal.II matrix
component The component in the fourth order tensor with which to sum (indexed from ZERO)
ie. if component=0, X_{RM} T_{MNPQ} is returned ie. if component=2, X_{RQ} T_{MNPQ} is returned

Definition at line 84 of file FourthOrderTensor2.hpp.


The documentation for this class was generated from the following file:

Generated on Wed Mar 18 12:52:31 2009 for Chaste by  doxygen 1.5.5