This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
echo " ------------------------" | |
echo " Bader analysis " | |
echo " ------------------------" | |
echo " Reading "free-Atoms/Bonds.csv/txt" from Mercury software file !!!" | |
echo " Reading "dipole.yaml" from bader output file" | |
if [[ -e charges.dat ]] ; then | |
rm -r charges.dat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import subprocess | |
import os | |
##usage: python Hirshfeld_extract.py FHI-aim_outputfile | |
print "Writing to a file..." | |
f = open('hir.dat', 'w') | |
print "Name of the file: ", f.name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <string> | |
#include <iomanip> | |
#include <stdlib.h> | |
#include <sstream> | |
#include <vector> | |
#include <algorithm> | |
#include <iterator> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <sstream> | |
#include <stdlib.h> | |
#include <iomanip> | |
#include <stdio.h> | |
#include <string> | |
#include <cmath> | |
#include <vector> | |
#include <algorithm> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from lxml import etree | |
import xml.etree.ElementTree as xml | |
from math import * | |
import sys, getopt, os | |
from sys import stdout | |
from array import * | |
import numpy as np |
NewerOlder