ug4
file_io_lgb.cpp File Reference
#include <fstream>
#include "lib_grid/lg_base.h"
#include "lib_grid/algorithms/serialization.h"
#include "file_io_lgb.h"
#include <sstream>
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
#include "common/boost_serialization_routines.h"
#include "common/util/archivar.h"
#include "common/util/factory.h"
#include "lib_grid/refinement/projectors/projection_handler.h"
#include "lib_grid/refinement/projectors/projectors.h"

Namespaces

 ug
 the ug namespace
 

Enumerations

enum  ug::LGBConstants {
  ug::LGBC_NONE = 0 , ug::LGBC_POS2D = 1 , ug::LGBC_POS3D = 1 << 1 , ug::LGBC_SUBSET_HANDLER = 1 << 2 ,
  ug::LGBC_SELECTOR = 1 << 3 , ug::LGBC_PROJECTION_HANDLER = 1 << 4
}
 

Functions

void ug::DeserializeProjectionHandler (BinaryBuffer &in, ProjectionHandler &ph)
 
SPRefinementProjector ug::DeserializeProjector (BinaryBuffer &in)
 
bool ug::LoadGridFromLGB (Grid &grid, const char *filename, ISubsetHandler **ppSH, int numSHs, ISelector **ppSel, int numSels, ProjectionHandler *pPH, APosition aPos)
 
bool ug::LoadGridFromLGB (Grid &grid, const char *filename, ISubsetHandler **ppSH, int numSHs, ProjectionHandler *pPH, APosition aPos)
 
bool ug::SaveGridToLGB (Grid &grid, const char *filename, ISubsetHandler **ppSH, int numSHs, ISelector **ppSel, int numSels, ProjectionHandler *pPH, APosition aPos)
 
bool ug::SaveGridToLGB (Grid &grid, const char *filename, ISubsetHandler **ppSH, int numSHs, ProjectionHandler *pPH, APosition aPos)
 
void ug::SerializeProjectionHandler (BinaryBuffer &out, ProjectionHandler &ph)
 
void ug::SerializeProjector (BinaryBuffer &out, RefinementProjector &proj)