33 #ifndef __H__LIB_GRID__FILE_IO__
34 #define __H__LIB_GRID__FILE_IO__
72 template <
class TAPos>
77 template <
class TAPos>
81 template <
class TAPos>
118 template <
class TAPos>
121 const char* filename, TAPos& aPos);
123 template <
class TAPos>
142 const char* filename,
number offset);
158 const char* filename,
number offset = 0.1);
167 template <
class TAPos>
170 int lvl, TAPos aPos);
185 template <
class TAPos>
205 template <
typename TAPos>
221 template <
class TAPos>
223 const char* filename, TAPos aPos);
232 const char* filename);
235 template<
class TElem>
Definition: smart_pointer.h:108
Manages the elements of a grid and their interconnection.
Definition: grid.h:132
Definition: subset_handler_interface.h:223
Definition: multi_grid.h:72
Represents the surface view of a multi-grid hierarchy.
Definition: surface_view.h:61
#define UG_API
Definition: ug_config.h:65
double number
Definition: types.h:124
bool SaveSurfaceViewTransformed(MultiGrid &mg, const SurfaceView &sv, const char *filename, number offset)
Saves a grid and assigns elements to subsets based on their surface-view-state.
Definition: file_io.cpp:692
bool SaveGridHierarchyTransformed(MultiGrid &mg, ISubsetHandler &sh, const char *filename, number offset)
Saves a grid hierarchy by offsetting levels along the z-axis.
Definition: file_io.cpp:507
bool SaveGridToFile(Grid &grid, ISubsetHandler &sh, const char *filename, TAPos &aPos)
Saves a grid to a file. Position data is read from the specified attachment.
Definition: file_io.cpp:468
bool SaveParallelGridLayout(MultiGrid &mg, const char *filename, number offset)
Saves the grid-layout of parallel multi-grids.
Definition: file_io.cpp:625
bool SaveGridLevelToFile(MultiGrid &srcMG, ISubsetHandler &srcSH, int lvl, const char *filename)
Saves a grid level to a file.
Definition: file_io.cpp:932
void MergeGrids(Grid &mrgGrid, Grid &grid, ISubsetHandler &mrgSH, ISubsetHandler &sh, TAPos aPos, bool joinSubsets)
Merges to grids into one grid.
Definition: file_io.cpp:852
void CopyGridLevel(MultiGrid &srcMG, Grid &destGrid, ISubsetHandler &srcSH, ISubsetHandler &destSH, int lvl, TAPos aPos)
Copies a grid level to a separate grid.
Definition: file_io.cpp:767
void CopyGrid(Grid &srcGrid, Grid &destGrid, ISubsetHandler &srcSH, ISubsetHandler &destSH, TAPos aPos)
Copies a grid to a separate grid.
Definition: file_io.cpp:802
bool SaveGridLevel(MultiGrid &srcMG, ISubsetHandler &srcSH, int lvl, const char *filename, TAPos aPos)
Saves a grid level to a file.
Definition: file_io.cpp:836
void CopyGridElements(Grid &srcGrid, Grid &destGrid, ISubsetHandler &srcSH, ISubsetHandler &destSH, Attachment< Vertex * > &aNewVrt)
Copy grid elements of type TElem from srcGrid to destGrid.
Definition: file_io_impl.h:43
bool LoadGridFromFile(Grid &grid, SPProjectionHandler &ph, size_t &num_ph, ISubsetHandler &sh, vector< string > additionalSHNames, vector< SmartPtr< ISubsetHandler >> ash, const char *filename, TAPos &aPos, int procId)
Definition: file_io.cpp:315