NanoMagMC  v0.2
Monte Carlo Simulation Software for Atomistic Models of Magnetic Materials
Classes | Functions
particle::td Namespace Reference

Classes

class  functionObject
 

Functions

double solid_angle (const xt::xtensorf< double, xt::xshape< 4 >> &s1, const xt::xtensorf< double, xt::xshape< 4 >> &s2, const xt::xtensorf< double, xt::xshape< 4 >> &s3)
 

Function Documentation

double particle::td::solid_angle ( const xt::xtensorf< double, xt::xshape< 4 >> &  s1,
const xt::xtensorf< double, xt::xshape< 4 >> &  s2,
const xt::xtensorf< double, xt::xshape< 4 >> &  s3 
)

Calculate the solid angle between three vectors

Parameters
s1First vector
s2Second vector
s3Third vector
Returns
The solid angle