Potential
A very general wrapper to a potential: Can take a potential directory and compile that down Can take a potential source and write the necessary template code around that for use ides a hook into PotentialCaller once the data has been loaded to directly call the potential like a function
Properties and Methods
__init__(self, name=None, potential_source=None, atom_pattern=None, working_directory=None, wrap_potential=None, function_name=None, raw_array_potential=None, arguments=None, shim_script='', conversion=None, potential_directory=None, static_source=False, extra_functions=(), src_ext='src', description='An extension module', verion='1.0.0', include_dirs=None, linked_libs=None, macros=None, source_files=None, build_script=None, requires_make=False, out_dir=None, cleanup_build=True, python_potential=False, pointer_name=None, fortran_potential=False, bad_walker_file='bad_walkers.txt', mpi_manager=None, vectorized_potential=False, error_value=10000000000.0, transpose_call=None, debug_print=False):
name
:Any
No description…
potential_source
:Any
No description…
wrap_potential
:Any
No description…
function_name
:Any
No description…
raw_array_potential
:Any
No description…
arguments
:Any
No description…
potential_directory
:Any
No description…
static_source
:Any
No description…
extra_functions
:Any
No description…
src_ext
:Any
No description…
description
:Any
No description…
verion
:Any
No description…
include_dirs
:Any
No description…
linked_libs
:Any
No description…
macros
:Any
No description…
source_files
:Any
No description…
build_script
:Any
No description…
requires_make
:Any
No description…
out_dir
:Any
No description…
cleanup_build
:Any
No description…
python_potential
:Any
No description…
bad_walker_file
:Any
No description…
mpi_manager
:Any
No description…
vectorized_potential
:Any
No description…
error_value
:Any
No description…
__repr__(self):
@property
caller(self):
@property
mpi_manager(self):
clean_up(self):
bind_atoms(self, atoms):
bind_arguments(self, args):
@property
args(self):
__call__(self, coordinates, *extra_args, **extra_kwargs):
Examples
Edit Examples or
Create New Examples
Edit Template or
Create New Template
Edit Docstrings