update source
This commit is contained in:
12
src/main.cpp
12
src/main.cpp
@@ -4,7 +4,17 @@ int main(int argc, char const *argv[])
|
||||
{
|
||||
if (argc == 1)
|
||||
{
|
||||
std::clog << "./magtet <para-file>\n";
|
||||
std::clog << "Magnetic gradient tensors of homologous tetrahedrons.\n";
|
||||
std::clog << "Usage: ./magtet <para-file>\n";
|
||||
std::clog << "Option format:\n";
|
||||
std::clog << "<option> = <value>\n";
|
||||
std::clog << "Available options:\n";
|
||||
std::clog << "tet-file: 3D model file. this option needs both .node and .ele files generated by Tetgen. No file extension is needed\n";
|
||||
std::clog << "mag-file: magnetization vectors. Line format: <magz-x> <magz-y> <magz-z>\n";
|
||||
std::clog << "site-file: observation points. format1: <filename> format2: <xmin>/<xmax>/<ymin>/<ymax>/<z>/<xnum>/<ynum>\n";
|
||||
std::clog << "site-file: line format: <x> <y> <z>\n";
|
||||
std::clog << "obs-file: output observation files. No file extension is needed\n";
|
||||
std::clog << "cal-type: available calculating types: potential, gradient and tensor\n";
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user