Rename create -> openmc_create_source

This commit is contained in:
Dan Short 2020-08-05 16:02:52 +01:00
parent fae474869c
commit 0bb5030ee0
3 changed files with 3 additions and 3 deletions

View file

@ -380,7 +380,7 @@ void load_custom_source_library()
custom_source_function = reinterpret_cast<sample_t>(dlsym(custom_source_library, "sample_source"));
} else {
// get the function to create the CustomSource from the library
create_custom_source_t* create_custom_source = (create_custom_source_t*) dlsym(custom_source_library, "create");
create_custom_source_t* create_custom_source = (create_custom_source_t*) dlsym(custom_source_library, "openmc_create_source");
// create a pointer to an instance of the CustomSource
custom_source = create_custom_source(custom_source_parameters.c_str());