/* bravais.h */
/* Copyright (C) 2011 Atsushi Togo */

#ifndef __refinement_H__
#define __refinement_H__

#include "cell.h"
#include "mathfunc.h"
#include "spacegroup.h"
#include "symmetry.h"

Cell * ref_refine_cell( SPGCONST Cell * cell,
			const double symprec );

Symmetry * ref_get_refined_symmetry_operations( SPGCONST Cell * cell,
						SPGCONST double prim_lattice[3][3],
						SPGCONST Spacegroup * spacegroup,
						const double symprec );
void ref_get_Wyckoff_positions( int * wyckoffs,
				int * equiv_atoms,
			        SPGCONST Cell * primitive,
				SPGCONST Spacegroup * spacegroup,
				const double symprec );

#endif
