tmp update
This commit is contained in:
@@ -62,7 +62,7 @@ void magtet::init_site(std::string para)
|
||||
// try to use the para in the format <xmin>/<xmax>/<ymin>/<ymax>/<z>/<xsize>/<ysize>
|
||||
double xmin, xmax, ymin, ymax, z;
|
||||
int xsize, ysize;
|
||||
gctl::utility::parse_string_to_value(para, '/', xmin, xmax, ymin, ymax, z, xsize, ysize);
|
||||
gctl::parse_string_to_value(para, '/', xmin, xmax, ymin, ymax, z, xsize, ysize);
|
||||
gctl::gridspace(gctl::point3dc(xmin, 0.0, 0.5*z), gctl::point3dc(xmax, 0.0, 0.5*z),
|
||||
gctl::point3dc(0.0, ymin, 0.5*z), gctl::point3dc(0.0, ymax, 0.5*z), xsize, ysize, site_);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user