NeoPZ
TPZNullMaterialTranslator.cpp
Go to the documentation of this file.
1 //
2 // TPZNullMaterialTranslator.cpp
3 // pz
4 //
5 // Created by Omar DurĂ¡n on 9/26/19.
6 //
7 
10 
12 }
13 
15 
16 }
17 
18 void TPZNullMaterialTranslator::UpdateAttributes(TPZChunkInTranslation & chunk, const std::map<std::string, uint64_t>& toVersion) {
19 
20  parentTranslator.UpdateAttributes(chunk, toVersion);
21  int fDim;
22  chunk.mOldStream.Read(&fDim);
23  chunk.mNewStream.Write(&fDim);
24 
25  int fNState;
26  chunk.mOldStream.Read(&fNState);
27  chunk.mNewStream.Write(&fNState);
28 }
29 
30 
32 
33 }
34 
virtual void Read(int *p, int howMany=1)
virtual void Write(const int *p, int howMany=1)
TPZContBufferedStream mOldStream
TPZMaterialTranslator parentTranslator
virtual void UpdateAttributes(TPZChunkInTranslation &chunk, const std::map< std::string, uint64_t > &toVersion)
virtual void UpdateAttributes(TPZChunkInTranslation &chunk, const std::map< std::string, uint64_t > &toVersion)
TPZContBufferedStream mNewStream