Commit d185f204 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Code refactoring and header installation fixes.

parent 640c10c7
Loading
Loading
Loading
Loading
+16 −15
Original line number Diff line number Diff line
@@ -25,7 +25,8 @@ namespace Communicators {
   class MpiCommunicator
   {

        private:
   public: // TODO: this was private

         inline static MPI_Datatype MPIDataType( const signed char* ) { return MPI_CHAR; };
         inline static MPI_Datatype MPIDataType( const signed short int* ) { return MPI_SHORT; };
         inline static MPI_Datatype MPIDataType( const signed int* ) { return MPI_INT; };
+1 −1
Original line number Diff line number Diff line
@@ -161,7 +161,7 @@ class MeshFunction :
      using Object::boundLoad;

      template< typename CommunicatorType>
      void Synchronize();    
      void synchronize();    

 
   protected:
+1 −1
Original line number Diff line number Diff line
@@ -544,7 +544,7 @@ template< typename Mesh,
template< typename CommunicatorType>
void
MeshFunction< Mesh, MeshEntityDimension, Real >:: 
Synchronize()
synchronize()
{
    auto distrMesh = this->getMesh().GetDistMesh();
    if(distrMesh != NULL && distrMesh->isDistributed())
+1 −0
Original line number Diff line number Diff line
SET( headers BufferEntitiesHelper.h
             CopyEntitiesHelper.h
             DistributedMesh.h
             DistributedMeshSynchronizer.h
             DistributedGrid_1D.h
+2 −2
Original line number Diff line number Diff line
@@ -50,8 +50,8 @@ class DistributedGridIO<MeshFunctionType,Dummy>


/*
 * This variant cerate copy of MeshFunction but smaler, reduced to local entites, without overlap. 
 * It slow and has high RAM consupation
 * This variant cerate copy of MeshFunction but smaller, reduced to local entities, without overlap. 
 * It is slow and has high RAM consumption
 */
template<typename MeshFunctionType> 
class DistributedGridIO<MeshFunctionType,LocalCopy>
Loading