Skip to content

Commit

Permalink
Merge pull request #93 from UG4/arte-merge
Browse files Browse the repository at this point in the history
Arte merge
  • Loading branch information
anaegel authored Jul 18, 2024
2 parents 9a75dc9 + 069afe1 commit fec4fe7
Show file tree
Hide file tree
Showing 9 changed files with 4,016 additions and 9 deletions.
2 changes: 1 addition & 1 deletion scripts/shell/schedulers/pbs-generic
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function UJS_Submit
exit
fi
jobid=`echo $jobid | sed 's/\([0-9]*\).*/\1/'`
fi
fi
}


Expand Down
11 changes: 10 additions & 1 deletion ugbase/bridge/grid_bridges/file_io_bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "lib_grid/multi_grid.h"
#include "lib_grid/file_io/file_io.h"
#include "lib_grid/file_io/file_io_ugx.h"
#include "lib_grid/file_io/file_io_vtu.h"

using namespace std;

Expand Down Expand Up @@ -77,6 +78,13 @@ bool SaveGridHierarchy(MultiGrid& mg, const char* filename)
return SaveGridToFile(mg, mg.get_hierarchy_handler(), filename);
}

void SetVTURegionOfInterestIdentifier( char const * regOfInt )
{
PROFILE_FUNC_GROUP("grid");
GridReaderVTU::setRegionOfInterestIdentifier( std::string( regOfInt ) );
return;
}


void RegisterGridBridge_FileIO(Registry& reg, string parentGroup)
{
Expand Down Expand Up @@ -129,7 +137,8 @@ void RegisterGridBridge_FileIO(Registry& reg, string parentGroup)
.add_function("SaveParallelGridLayout", &SaveParallelGridLayout,
grp, "", "mg#filename#offset")
.add_function("SaveSurfaceViewTransformed", &SaveSurfaceViewTransformed)
.add_function("SaveGridLevelToFile", &SaveGridLevelToFile);
.add_function("SaveGridLevelToFile", &SaveGridLevelToFile)
.add_function("SetVTURegionOfInterestIdentifier", static_cast<void (*)(char const *)>(&SetVTURegionOfInterestIdentifier) );
}

}// end of namespace
Expand Down
1 change: 1 addition & 0 deletions ugbase/lib_grid/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ set(srcAlgorithms algorithms/debug_util.cpp
algorithms/extrusion/extrude.cpp
algorithms/extrusion/cylinder_extrusion.cpp
algorithms/extrusion/expand_layers.cpp
algorithms/extrusion/expand_layers_arte.cpp
algorithms/projections/overlying_subset_finder.hpp
algorithms/projections/z_ray_tracer.hpp
refinement/projectors/projection_handler.cpp
Expand Down
Loading

0 comments on commit fec4fe7

Please sign in to comment.