Chaste
Release::2017.1
|
#include <FibreConverter.hpp>
Public Member Functions | |
void | Convert (const FileFinder &rSourceFile, const std::string &rOutputFolderName) |
A convenience wrapper around FibreReader and FibreWriter to convert .axi and .ortho fibres from ascii to binary.
Definition at line 46 of file FibreConverter.hpp.
void FibreConverter::Convert | ( | const FileFinder & | rSourceFile, |
const std::string & | rOutputFolderName | ||
) |
The method that converts fibre files from ascii to binary.
rSourceFile | a file finder to any mesh file - the base name minus extension is used |
rOutputFolderName | name of folder where converted fibre files will be written |
Definition at line 40 of file FibreConverter.cpp.
References FibreReader< DIM >::GetAllAxi(), FibreReader< DIM >::GetAllOrtho(), FileFinder::GetLeafNameNoExtension(), FileFinder::GetParent(), FibreWriter< DIM >::SetWriteFileAsBinary(), FibreWriter< DIM >::WriteAllAxi(), and FibreWriter< DIM >::WriteAllOrtho().