Update read_model_mst.cpp
This commit is contained in:
parent
716939c93a
commit
3c505c0cfe
@ -10,7 +10,7 @@ int GM3D::ReadModel_mst(char* filename){
|
|||||||
stringstream temp_ss;
|
stringstream temp_ss;
|
||||||
|
|
||||||
ifstream mstin;
|
ifstream mstin;
|
||||||
if (open_infile(mstin,filename)) return -1; //检查并打开模型文件
|
if (open_infile(mstin,filename)) return -1; //¼ì²é²¢´ò¿ªÄ£ÐÍÎļþ
|
||||||
double ynum, xnum, znum;
|
double ynum, xnum, znum;
|
||||||
double ystart, xstart, zstart;
|
double ystart, xstart, zstart;
|
||||||
double ylength, xlength, zlength;
|
double ylength, xlength, zlength;
|
||||||
@ -23,7 +23,7 @@ int GM3D::ReadModel_mst(char* filename){
|
|||||||
|
|
||||||
model_num_ = ynum*xnum*znum;
|
model_num_ = ynum*xnum*znum;
|
||||||
model_cube_.resize(model_num_);
|
model_cube_.resize(model_num_);
|
||||||
//初始化数组
|
//³õʼ»¯Êý×é
|
||||||
forward_model_.resize(model_num_,0.0);
|
forward_model_.resize(model_num_,0.0);
|
||||||
|
|
||||||
double f_mdl_tmp;
|
double f_mdl_tmp;
|
||||||
|
Loading…
Reference in New Issue
Block a user