Skip to content

Commit

Permalink
Merge pull request #3 from salrodgom/development
Browse files Browse the repository at this point in the history
Development: Add LAMMPS features
  • Loading branch information
salrodgom authored Dec 14, 2021
2 parents 22aa751 + 285bc7a commit 6ec3fef
Show file tree
Hide file tree
Showing 2,132 changed files with 14,386 additions and 28,789 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# FLAMA code:
( [F]orcefie[L]d [A]djust[M]ent [A]lgorithm )

This code adjusts interatomic potentials from a reference database of atomic structures and their corresponding DFT energies. For the calculation of energies from atomic positions, it uses the GULP program via an interface. The adjustment of the potentials is done by means of a genetic algorithm. The code has been tested for the calculation of interatomic potentials of perovskites PbCs(Br,I,Cl)3. The calculation of the reference database of energies and geometries was calculated using the VASP code.
This code adjusts interatomic potentials from a reference database of atomic structures and their corresponding DFT energies. For the calculation of energies from atomic positions, it uses the GULP or LAMMPS program via an interface. The adjustment of the potentials is done by means of a genetic algorithm. The code has been tested for the calculation of interatomic potentials of perovskites PbCs(Br,I,Cl)3 and Pb(MA,FA,Cs)(Br,I)3. The calculation of the reference database of energies and geometries was calculated using the VASP code.

The article can be found published in:

SRG Balestra _et al._, _J. Mater. Chem. A_, **2020**,8, 11824-11836, DOI: [10.1039/D0TA03200J](https://doi.org/10.1039/D0TA03200J) and the preprint in arxiv: [2003.09360](https://arxiv.org/abs/2003.09360).
SRG Balestra _et al._, _J. Mater. Chem. A_, **2020**,8, 11824-11836, DOI: [10.1039/D0TA03200J](https://doi.org/10.1039/D0TA03200J), arxiv: [2003.09360](https://arxiv.org/abs/2003.09360).

JA. Seijas-Bellido, _et al._, _Preprint in arXiv_, November, **2021**, arxiv: [2111.11918](https://arxiv.org/abs/2111.11918).
7 changes: 3 additions & 4 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
dev_FLAGS =
openmp_FLAG = -fopenmp
FFLAGS = -ffree-form -march=native -O3 $(openmp_FLAG) $(dev_FLAGS)
FFLAGS = -ffree-form -march=native -O3 -fopenmp
PROGRAM = flama.exe
install:
gfortran flama.f90 -o $(PROGRAM) $(FFLAGS)
all:
gfortran flama.f90 -o $(PROGRAM) $(FFLAGS)
cp peros_initial.lib peros.lib ; ./$(PROGRAM) < input
cp peros_initial.lib peros.lib
./$(PROGRAM) < input
clean:
rm -rf $(PROGRAM) *.o *.mod
Loading

0 comments on commit 6ec3fef

Please sign in to comment.