NeoPZ
TPZElasticResponseTranslator.cpp
Go to the documentation of this file.
1 /*
2  * To change this license header, choose License Headers in Project Properties.
3  * To change this template file, choose Tools | Templates
4  * and open the template in the editor.
5  */
6 
7 /*
8  * File: TPZElasticResponseTranslator.cpp
9  * Author: thiago
10  *
11  * Created on 12 de Março de 2018, 15:26
12  */
13 
15 #include "pzreal.h"
16 #include "TPZChunkInTranslation.h"
17 
19 }
20 
22 }
23 
24 void TPZElasticResponseTranslator::UpdateAttributes(TPZChunkInTranslation& chunk, const std::map<std::string, uint64_t>& toVersion) {
25  REAL fLambda;
26  chunk.mOldStream.Read(&fLambda);
27  chunk.mNewStream.Write(&fLambda);
28  REAL fMu;
29  chunk.mOldStream.Read(&fMu);
30  chunk.mNewStream.Write(&fMu);
31 }
32 
33 
35 }
36 
virtual void Read(int *p, int howMany=1)
virtual void Write(const int *p, int howMany=1)
TPZContBufferedStream mOldStream
virtual void UpdateAttributes(TPZChunkInTranslation &chunk, const std::map< std::string, uint64_t > &toVersion)
Contains the declaration of TPZFlopCounter class and TPZCounter struct.
TPZContBufferedStream mNewStream