[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/diffpy/libdiffpy/main/examples/testlib.cpp [Back]  [Original]

// Test program for checking the installation of libdiffpy shared library.
// Compile and run this code using:
//
//      c++ testlib.cpp -ldiffpy
//      ./a.out


#include 
#include 

int main(int argc, char* argv[])
{
    using namespace diffpy::srreal;
    ScatteringFactorTablePtr ntbl;
    ntbl = ScatteringFactorTable::createByType("neutron");
    ntbl->lookup("Pb");
    std::cout 

Web Proxy Viewer  |  New URL  |  Original Page