FFILoader

Provides a standardized way to load and compile a potential using a potential template

libs_folder: str
cpp_std: str

 

__init__(self, name, src=None, src_ext='src', load_path=None, description='A compiled potential', version='1.0.0', include_dirs=None, linked_libs=None, runtime_dirs=None, macros=None, source_files=None, build_script=None, requires_make=True, out_dir=None, cleanup_build=True, pointer_name=None, build_kwargs=None, nodebug=False, threaded=False, extra_compile_args=None, extra_link_args=None, recompile=False): 

 

@property
lib(self): 

 

@property
caller_api_version(self): 

 

@property
call_obj(self): 

The object that defines how to call the potential. Can either be a pure python function, an FFIModule, or a PyCapsule

  • :returns: _

Feedback

Examples

Templates

Documentation