Skip to content

TRACER-LULab/InverseLangevinApproximations.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InverseLangevinApproximations

Stable Dev

InverseLangevinApproximations.jl is a library for utilizing different approximation of the inverse of the Langevin function, ℒ. The approximations are primarily used in polymer mechanics; however, due to the potential use of the function in other areas of physics, the library is not limited to polymer mechanics.

API

All approximations are subtypes of AbstractInverseLangevinApproximation. Accessing the inverse of the Langevin function is done by calling inverse_langevin_approximation with the approximation type as the first argument and the value to approximate as the second argument.

y = 0.5
x = inverse_langevin_approximation(CohenRounded3_2(), y)

Citing

See CITATION.bib for the relevant reference(s).