diff --git a/examples/pairwise_interaction_otf__build.py b/examples/pairwise_interaction_otf__build.py index bf5c109d6b3e314715f4fb89a5b2f1217e4f9f33..b677f16de74d294f0a846bafb7b382246d85f855 100644 --- a/examples/pairwise_interaction_otf__build.py +++ b/examples/pairwise_interaction_otf__build.py @@ -10,8 +10,8 @@ model_name = model_name.replace("__build", "") kmc_model = kmcos.create_kmc_model(model_name) kmc_model.set_meta(author='Juan M. Lorenzi', email='jmlorenzi@gmail.com', - model_name='dummy_pairwise_interaction_otf', model_dimension=2) + # model_name='dummy_pairwise_interaction_otf' layer = kmc_model.add_layer(name='simplecubic_2d') layer.add_site(name='a') @@ -83,8 +83,7 @@ kmc_model.add_process(proc) # Save the model to an xml file ###It's good to simply copy and paste the below lines between model creation files. kmc_model.print_statistics() -kmc_model.backend = 'local_smart' #specifying is optional. 'local_smart' is the default. Currently, the other options are 'lat_int' and 'otf' +kmc_model.backend = 'otf' #specifying is optional. 'local_smart' is the default. Currently, the other options are 'lat_int' and 'otf' kmc_model.clear_model(model_name=kmc_model.model_name, backend=kmc_model.backend) #This line is optional: if you are updating a model, this line will remove the old model files (including compiled files) before exporting the new one. It is convenient to always include this line because then you don't need to 'confirm' removing/overwriting the old model during the compile step. kmc_model.save_model() -kmcos.compile(kmc_model) - +kmcos.compile(kmc_model) \ No newline at end of file diff --git a/examples/pairwise_interaction_otf_no_JANAF__build.py b/examples/pairwise_interaction_otf_no_JANAF__build.py index eb1d4cb68e5e5d9f5bf1b1082a93eb222a79f9db..e17af4996e9de2f522fe9fedd7fb40eec278858d 100644 --- a/examples/pairwise_interaction_otf_no_JANAF__build.py +++ b/examples/pairwise_interaction_otf_no_JANAF__build.py @@ -83,7 +83,7 @@ kmc_model.add_process(proc) # Save the model to an xml file ###It's good to simply copy and paste the below lines between model creation files. kmc_model.print_statistics() -kmc_model.backend = 'local_smart' #specifying is optional. 'local_smart' is the default. Currently, the other options are 'lat_int' and 'otf' +kmc_model.backend = 'otf' #specifying is optional. 'local_smart' is the default. Currently, the other options are 'lat_int' and 'otf' kmc_model.clear_model(model_name=kmc_model.model_name, backend=kmc_model.backend) #This line is optional: if you are updating a model, this line will remove the old model files (including compiled files) before exporting the new one. It is convenient to always include this line because then you don't need to 'confirm' removing/overwriting the old model during the compile step. kmc_model.save_model() kmcos.compile(kmc_model) diff --git a/kmcos/__init__.py b/kmcos/__init__.py index 1a7e8a7c1a2a30985aed276d16c71ab4518f5cd2..6add2c45aa530dcd73c6db1d24fba382262ac740 100644 --- a/kmcos/__init__.py +++ b/kmcos/__init__.py @@ -55,7 +55,7 @@ from __future__ import print_function #import kmcos.types #import kmcos.io -__version__ = "0.0.61" +__version__ = "0.0.62" VERSION = __version__ def evaluate_param_expression(param, parameters={}):