bool OEAddGlobalFragLib(const std::string &fraglib_filename,
Add a fragment library located at fraglib_filename to Omega’s global fragment library. If replace is true, previously existing fragments in the current global fragment library are replaced with the ones from fraglib_filename.
Unlike the fragment libraries loaded by
OEOmega.AddFragLib, the global fragment
library is accessible to all omega instances. It is most useful in
the JAVA programming language to minimize memory usage when
running multiple OEOmega instances in threads.
Other languages have the default fragment library pre-loaded already.
This function is not thread-safe and must be called before starting any threads.