NeoPZ
TPZYCCamClayPVTranslator.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: TPZYCCamClayPVTranslator.cpp
9  * Author: thiago
10  *
11  * Created on 12 de Março de 2018, 15:30
12  */
13 
15 #include "TPZChunkInTranslation.h"
16 
18 }
19 
21 }
22 
23 void TPZYCCamClayPVTranslator::UpdateAttributes(TPZChunkInTranslation& chunk, const std::map<std::string, uint64_t>& toVersion) {
24  REAL fGamma;
25  chunk.mOldStream.Read(&fGamma);
26  chunk.mNewStream.Write(&fGamma);
27  REAL fM;
28  chunk.mOldStream.Read(&fM);
29  chunk.mNewStream.Write(&fM);
30  REAL fPt;
31  chunk.mOldStream.Read(&fPt);
32  chunk.mNewStream.Write(&fPt);
33  REAL fLogHardening;
34  chunk.mOldStream.Read(&fLogHardening);
35  chunk.mNewStream.Write(&fLogHardening);
36  REAL fLogBulkModulus;
37  chunk.mOldStream.Read(&fLogBulkModulus);
38  chunk.mNewStream.Write(&fLogBulkModulus);
39  REAL fA0;
40  chunk.mOldStream.Read(&fA0);
41  chunk.mNewStream.Write(&fA0);
42  REAL fE0;
43  chunk.mOldStream.Read(&fE0);
44  chunk.mNewStream.Write(&fE0);
46 }
47 
49 }
50 
virtual void Read(int *p, int howMany=1)
virtual void Write(const int *p, int howMany=1)
TPZElasticResponseTranslator tpzElasticResponseTranslator
virtual void UpdateStream(TPZChunkInTranslation &chunk, const std::map< std::string, uint64_t > &toVersion)
TPZContBufferedStream mOldStream
virtual void UpdateAttributes(TPZChunkInTranslation &chunk, const std::map< std::string, uint64_t > &toVersion)
TPZContBufferedStream mNewStream