www.mooseframework.org
Functions
SymmElasticityTensor.C File Reference

Go to the source code of this file.

Functions

template<>
void dataStore (std::ostream &stream, SymmElasticityTensor &set, void *context)
 
template<>
void dataLoad (std::istream &stream, SymmElasticityTensor &set, void *context)
 
std::ostream & operator<< (std::ostream &stream, const SymmElasticityTensor &obj)
 

Function Documentation

template<>
void dataLoad ( std::istream &  stream,
SymmElasticityTensor set,
void *  context 
)

Definition at line 21 of file SymmElasticityTensor.C.

22 {
23  dataLoad(stream, set._constant, context);
24  dataLoad(stream, set._values_computed, context);
25  dataLoad(stream, set._val, context);
26 }
void dataLoad(std::istream &stream, SymmElasticityTensor &set, void *context)
template<>
void dataStore ( std::ostream &  stream,
SymmElasticityTensor set,
void *  context 
)

Definition at line 12 of file SymmElasticityTensor.C.

13 {
14  dataStore(stream, set._constant, context);
15  dataStore(stream, set._values_computed, context);
16  dataStore(stream, set._val, context);
17 }
void dataStore(std::ostream &stream, SymmElasticityTensor &set, void *context)
std::ostream& operator<< ( std::ostream &  stream,
const SymmElasticityTensor obj 
)

Definition at line 303 of file SymmElasticityTensor.C.

304 {
305  stream << "SymmElasticityTensor:\n"
306  << std::setprecision(6) << std::setw(13) << obj._val[0] << "\t" << std::setw(13)
307  << obj._val[1] << "\t" << std::setw(13) << obj._val[2] << "\t" << std::setw(13)
308  << obj._val[3] << "\t" << std::setw(13) << obj._val[4] << "\t" << std::setw(13)
309  << obj._val[5] << "\n"
310  << "\t\t" << std::setw(13) << obj._val[6] << "\t" << std::setw(13) << obj._val[7] << "\t"
311  << std::setw(13) << obj._val[8] << "\t" << std::setw(13) << obj._val[9] << "\t"
312  << std::setw(13) << obj._val[10] << "\n"
313  << "\t\t\t\t" << std::setw(13) << obj._val[11] << "\t" << std::setw(13) << obj._val[12]
314  << "\t" << std::setw(13) << obj._val[13] << "\t" << std::setw(13) << obj._val[14] << "\n"
315  << "\t\t\t\t\t\t" << std::setw(13) << obj._val[15] << "\t" << std::setw(13) << obj._val[16]
316  << "\t" << std::setw(13) << obj._val[17] << "\t"
317  << "\n"
318  << "\t\t\t\t\t\t\t\t" << std::setw(13) << obj._val[18] << "\t" << std::setw(13)
319  << obj._val[19] << "\n"
320  << "\t\t\t\t\t\t\t\t\t\t" << std::setw(13) << obj._val[20] << std::endl;
321  return stream;
322 }