Skip to content

Commit 4bfbfbe

Browse files
committed
GNU GPL v3.0 added
1 parent 9ef5dc0 commit 4bfbfbe

7 files changed

+728
-8
lines changed

LICENSE

+674
Large diffs are not rendered by default.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# exp2d
2-
Python/C code for simulation of exciton-polaritons in artificial 2D lattices.
2+
Python/C code for simulation of exciton-polaritons in artificial 2D lattices.
33

44
**Jupyter notebook interactive examples**
55

exp2d.c

+16-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
1-
//------------------------------
2-
//------ Date: 9 Feb 2019 ------
3-
//----- Dmitry R. Gulevich -----
4-
//------------------------------
1+
/*----------------------------------------------------------------------
2+
# Copyright (C) 2019 Dmitry R. Gulevich
3+
#
4+
# This program is free software: you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
8+
#
9+
# This program is distributed in the hope that it will be useful,
10+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
# GNU General Public License for more details.
13+
#
14+
# You should have received a copy of the GNU General Public License
15+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
----------------------------------------------------------------------*/
517
#include <stdio.h>
618
#include <stdlib.h> // malloc, rand
719
#include <complex.h> // complex numbers

exp2d.py

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
#----------------------------------------------------------------------
2+
# Copyright (C) 2019 Dmitry R. Gulevich
3+
#
4+
# This program is free software: you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
8+
#
9+
# This program is distributed in the hope that it will be useful,
10+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
# GNU General Public License for more details.
13+
#
14+
# You should have received a copy of the GNU General Public License
15+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
#----------------------------------------------------------------------
117
import numpy as np
218
from scipy.sparse import csc_matrix
319
from scipy.sparse import dia_matrix

linear-farfield.ipynb

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@
66
"source": [
77
"# Far-field emission from the Lieb lattice\n",
88
"\n",
9-
"(by Dmitry R. Gulevich, ITMO University, St. Petersburg, 197101, Russia)"
9+
"----------------------------------------------------------------------\n",
10+
"Copyright (C) 2019 Dmitry R. Gulevich\n",
11+
" \n",
12+
" This program is free software: you can redistribute it and/or modify\n",
13+
" it under the terms of the GNU General Public License as published by\n",
14+
" the Free Software Foundation, either version 3 of the License, or\n",
15+
" (at your option) any later version. "
1016
]
1117
},
1218
{

linear-tetm.ipynb

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@
66
"source": [
77
"# Linear spectrum in presence of TE-TM and Omega\n",
88
"\n",
9-
"(by Dmitry R. Gulevich, ITMO University, St. Petersburg, 197101, Russia)"
9+
"----------------------------------------------------------------------\n",
10+
"Copyright (C) 2019 Dmitry R. Gulevich\n",
11+
" \n",
12+
" This program is free software: you can redistribute it and/or modify\n",
13+
" it under the terms of the GNU General Public License as published by\n",
14+
" the Free Software Foundation, either version 3 of the License, or\n",
15+
" (at your option) any later version."
1016
]
1117
},
1218
{

nonlinear-pump.ipynb

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@
66
"source": [
77
"# Nonlinear dynamics under drive\n",
88
"\n",
9-
"(by Dmitry R. Gulevich, ITMO University, St. Petersburg, 197101, Russia)"
9+
" ----------------------------------------------------------------------\n",
10+
" Copyright (C) 2019 Dmitry R. Gulevich\n",
11+
" \n",
12+
" This program is distributed in the hope that it will be useful,\n",
13+
" but WITHOUT ANY WARRANTY; without even the implied warranty of\n",
14+
" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n",
15+
" GNU General Public License for more details."
1016
]
1117
},
1218
{

0 commit comments

Comments
 (0)