www.mooseframework.org
Functions
RankTwoTensor.C File Reference

Go to the source code of this file.

Functions

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

Function Documentation

template<>
void dataLoad ( std::istream &  stream,
RankTwoTensor rtt,
void *  context 
)

Definition at line 43 of file RankTwoTensor.C.

44 {
45  dataLoad(stream, rtt._vals, context);
46 }
Real _vals[N2]
The values of the rank-two tensor stored by index=(i * LIBMESH_DIM + j)
void dataLoad(std::istream &stream, RankTwoTensor &rtt, void *context)
Definition: RankTwoTensor.C:43
template<>
void dataStore ( std::ostream &  stream,
RankTwoTensor rtt,
void *  context 
)

Definition at line 36 of file RankTwoTensor.C.

37 {
38  dataStore(stream, rtt._vals, context);
39 }
Real _vals[N2]
The values of the rank-two tensor stored by index=(i * LIBMESH_DIM + j)
void dataStore(std::ostream &stream, RankTwoTensor &rtt, void *context)
Definition: RankTwoTensor.C:36
template<>
void mooseSetToZero< RankTwoTensor > ( RankTwoTensor v)

Helper function template specialization to set an object to zero.

Needed by DerivativeMaterialInterface

Definition at line 29 of file RankTwoTensor.C.

30 {
31  v.zero();
32 }
void zero()
zeroes all _vals components