www.mooseframework.org
Functions
RankFourTensor.C File Reference

Go to the source code of this file.

Functions

template<>
void mooseSetToZero< RankFourTensor > (RankFourTensor &v)
 Helper function template specialization to set an object to zero. More...
 
template<>
void dataStore (std::ostream &stream, RankFourTensor &rft, void *context)
 
template<>
void dataLoad (std::istream &stream, RankFourTensor &rft, void *context)
 

Function Documentation

template<>
void dataLoad ( std::istream &  stream,
RankFourTensor rft,
void *  context 
)

Definition at line 40 of file RankFourTensor.C.

41 {
42  dataLoad(stream, rft._vals, context);
43 }
void dataLoad(std::istream &stream, RankFourTensor &rft, void *context)
Real _vals[N4]
The values of the rank-four tensor stored by index=(((i * LIBMESH_DIM + j) * LIBMESH_DIM + k) * LIBME...
template<>
void dataStore ( std::ostream &  stream,
RankFourTensor rft,
void *  context 
)

Definition at line 33 of file RankFourTensor.C.

34 {
35  dataStore(stream, rft._vals, context);
36 }
Real _vals[N4]
The values of the rank-four tensor stored by index=(((i * LIBMESH_DIM + j) * LIBMESH_DIM + k) * LIBME...
void dataStore(std::ostream &stream, RankFourTensor &rft, void *context)
template<>
void mooseSetToZero< RankFourTensor > ( RankFourTensor v)

Helper function template specialization to set an object to zero.

Needed by DerivativeMaterialInterface

Definition at line 26 of file RankFourTensor.C.

27 {
28  v.zero();
29 }
void zero()
Zeros out the tensor.