;;;;;; Martini lipid topology auto generated using:
; Martini lipid itp generator version dev-v03  Args are: -oPIPCA_Martini_v2.0_lipid.itp, -alnamePIPCA, -alhead C P, -allink G G, -altail CDDC CCCC
; WARNING: Lipids topology was generated following the Martini 2.0 guidelines but specific lipids type has
;          most likely not been tested and should therefore be used with care. 
;
; This isPIPCA but with posision restrains on the z-axes on the PO4 bead - controled with POS_Z_AXES

[moleculetype]
; molname      nrexcl
  PIPCA          1

[atoms]
; id 	type 	resnr 	residu 	atom 	cgnr 	charge
1 	Q0 	1 	PIPCA	NC3 	1 	1.0
2 	Qa 	1 	PIPCA	PO4 	2 	-1.0
3 	Na 	1 	PIPCA	GL1 	3 	0
4 	Na 	1 	PIPCA	GL2 	4 	0
5 	C1 	1 	PIPCA	C1A 	5 	0
6 	C4 	1 	PIPCA	D2A 	6 	0
7 	C4 	1 	PIPCA	D3A 	7 	0
8 	C1 	1 	PIPCA	C4A 	8 	0
9 	C1 	1 	PIPCA	C1B 	9 	0
10 	C1 	1 	PIPCA	C2B 	10 	0
11 	C1 	1 	PIPCA	C3B 	11 	0
12 	C1 	1 	PIPCA	C4B 	12 	0

[bonds]
; i j 	funct 	length 	force.c.
  1 2	1 	0.47 	1250
  2 3	1 	0.47 	1250
  3 4	1 	0.37 	1250
  3 5	1 	0.47 	1250
  5 6	1 	0.47 	1250
  6 7	1 	0.47 	1250
  7 8	1 	0.47 	1250
  4 9	1 	0.47 	1250
  9 10	1 	0.47 	1250
  10 11	1 	0.47 	1250
  11 12	1 	0.47 	1250

[angles]
; i j k 	funct 	angle 	force.c.
  2 3 4 	2 	120.0 	25.0
  2 3 5 	2 	180.0 	25.0
  3 5 6 	2 	180.0 	25.0
  5 6 7 	2 	100.0 	10.0
  6 7 8 	2 	120.0 	45.0
  4 9 10 	2 	180.0 	25.0
  9 10 11 	2 	180.0 	25.0
  10 11 12 	2 	180.0 	25.0

#ifdef POS_Z_AXES
[ position_restraints ]
; ai  funct  fcx    fcy    fcz
   2    1    0      0      2   ; restrains to a plane (x-y-plane)
#endif


; Include Position restraint file
#ifdef POSRES
#include "PIPC_posre.itp"
#endif
