<?xml version="1.0" encoding="UTF-8"?>
<!--

       Copyright 2011 Peter Murray-Rust et. al.

       Licensed under the Apache License, Version 2.0 (the "License");
       you may not use this file except in compliance with the License.
       You may obtain a copy of the License at

           http://www.apache.org/licenses/LICENSE-2.0

       Unless required by applicable law or agreed to in writing, software
       distributed under the License is distributed on an "AS IS" BASIS,
       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       See the License for the specific language governing permissions and
       limitations under the License.

-->

<molecule id="star1" convention="cml:PML-basic"
	xmlns:g="http://www.xml-cml.org/mols/geom1"
	xmlns="http://www.xml-cml.org/schema">
	<!--  a star polymer -->
	<fragment>
		<molecule ref="g:benzene"/>
	    <fragmentList>
			<join order="1" moleculeRefs2="PARENT NEXT" atomRefs2="r2 r2">
				<length id="l2.1">1.5</length>
				<torsion id="t2.1">120.0</torsion>
			</join>
			<fragment>
				<molecule ref="g:po"/>
			</fragment>
			<join order="1" moleculeRefs2="PREVIOUS NEXT" 
			    atomRefs2="r1 r1">
				<length id="l2.1.1">1.39</length>
			</join>
			<fragment countExpression="*(3)">
				<molecule ref="g:benzene"/>
				<fragmentList id="ml3">
					<join order="1" moleculeRefs2="PARENT NEXT" atomRefs2="r3 r1">
						<length id="t2.1.2">1.4</length>
						<torsion>124.0</torsion>
					</join>
					<fragment>
						<molecule ref="g:cl"/>
					</fragment>
				</fragmentList>
				<join order="1" moleculeRefs2="PREVIOUS NEXT" atomRefs2="r2 r5">
					<length id="l2.1.1">1.39</length>
				</join>
			</fragment>
		</fragmentList>
	    <fragmentList>
			<join order="1" moleculeRefs2="PARENT NEXT" atomRefs2="r4 r2">
				<length id="l2.1">1.5</length>
				<torsion id="t2.1">120.0</torsion>
			</join>
			<fragment>
				<molecule ref="g:po"/>
			</fragment>
			<join order="1" moleculeRefs2="PREVIOUS NEXT" 
			    atomRefs2="r1 r1">
				<length id="l2.1.1">1.39</length>
			</join>
			<fragment countExpression="*(3)">
				<molecule ref="g:benzene"/>
				<fragmentList id="ml3">
					<join order="1" moleculeRefs2="PARENT NEXT" atomRefs2="r3 r1">
						<length id="t2.1.2">1.4</length>
						<torsion>124.0</torsion>
					</join>
					<fragment>
						<molecule ref="g:cl"/>
					</fragment>
				</fragmentList>
				<join order="1" moleculeRefs2="PREVIOUS NEXT" atomRefs2="r2 r5">
					<length id="l2.1.1">1.39</length>
				</join>
			</fragment>
		</fragmentList>
	    <fragmentList>
			<join order="1" moleculeRefs2="PARENT NEXT" atomRefs2="r6 r2">
				<length id="l2.1">1.5</length>
				<torsion id="t2.1">120.0</torsion>
			</join>
			<fragment>
				<molecule ref="g:po"/>
			</fragment>
			<join order="1" moleculeRefs2="PREVIOUS NEXT" 
			    atomRefs2="r1 r1">
				<length id="l2.1.1">1.39</length>
			</join>
			<fragment countExpression="*(3)">
				<molecule ref="g:benzene"/>
				<fragmentList id="ml3">
					<join order="1" moleculeRefs2="PARENT NEXT" atomRefs2="r3 r1">
						<length id="t2.1.2">1.4</length>
						<torsion>124.0</torsion>
					</join>
					<fragment>
						<molecule ref="g:cl"/>
					</fragment>
				</fragmentList>
				<join order="1" moleculeRefs2="PREVIOUS NEXT" atomRefs2="r2 r5">
					<length id="l2.1.1">1.39</length>
				</join>
			</fragment>
		</fragmentList>
	</fragment>
</molecule>
