#include <ELCCoder.h>
Public Member Functions | |
ELCCoder (MShell *const mshell, const unsigned numSurf, const MShell::ElementType type=shells::MShell::active) | |
~ELCCoder () | |
shells::ELCContainer * | decode () |
void | encodeVertexPressure (std::vector< double > &vertexPressures) |
void | encodeElementPressure (std::vector< double > &elementPressures) |
template<typename VarType , typename Inserter > | |
void | decodeVariable (Inserter ins) |
template<typename VarType , typename Iterator > | |
void | encodeVariable (Iterator itb, Iterator ite) |
void | dumpTecplot (std::ostream &os, double *elementData=NULL, int dataSize=0) |
Friends | |
class | PressureFunctor |
shells::ELCCoder::ELCCoder | ( | MShell *const | mshell, | |
const unsigned | numSurf, | |||
const MShell::ElementType | type = shells::MShell::active | |||
) |
shells::ELCCoder::~ELCCoder | ( | ) |
shells::ELCContainer * shells::ELCCoder::decode | ( | ) |
References shells::ELCContainer::coordinates, shells::SVertexVelocity::numVar, shells::SVertexDisplacement::numVar, shells::SVertexCoordinate::numVar, and shells::ELCContainer::velocities.
Referenced by shells::ShellManagerFragmented::decode(), shells::ShellManagerBasic::decode(), and dumpTecplot().
void shells::ELCCoder::decodeVariable | ( | Inserter | ins | ) | [inline] |
void shells::ELCCoder::dumpTecplot | ( | std::ostream & | os, | |
double * | elementData = NULL , |
|||
int | dataSize = 0 | |||
) |
void shells::ELCCoder::encodeElementPressure | ( | std::vector< double > & | elementPressures | ) |
References shells::MShell::iterateOverElements(), and PressureFunctor.
Referenced by shells::ShellManagerFragmented::internalExternalForces(), and shells::ShellManagerBasic::internalExternalForces().
void shells::ELCCoder::encodeVariable | ( | Iterator | itb, | |
Iterator | ite | |||
) | [inline] |
void shells::ELCCoder::encodeVertexPressure | ( | std::vector< double > & | vertexPressures | ) |
friend class PressureFunctor [friend] |
Referenced by encodeElementPressure(), and encodeVertexPressure().