Skip to content

Commit

Permalink
Add Documentation to Geometry Export to .dat File
Browse files Browse the repository at this point in the history
  • Loading branch information
mx-nlte committed Feb 15, 2024
1 parent 582e207 commit c7e3af0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Bembel/src/Geometry/GeometryIO.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,16 @@ void WritePatch(const std::string &file_name, int current_patch_number,
file.close();
}

/**
* \ingroup Geometry
* \brief exports a geometry from Bembel to a .dat file.
*
* Limitation: This functions assumes a p-open knot vector without internal
* knots.
*
* \param std::vector of NURBS::Patch describing geometry
* \param name path/filename to be written to
*/
void WriteDATFile(const std::vector<Patch> &Geometry,
const std::string &file_name) {
const int number_of_patches = Geometry.size();
Expand Down

0 comments on commit c7e3af0

Please sign in to comment.