/usr/share/sofa/examples/PML/mtccs.pml is in sofa-data 1.0~beta4-8build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 | <!-- physical model is a generic representation for 3D physical model (FEM, spring mass network, phymulob...) -->
<!-- This an example of a pml designed for Sofa
It Create 2 FEM cubes (see bodies components) -->
<physicalModel name="cube convex hull" nrOfAtoms="27"
nrOfExclusiveComponents="3"
nrOfInformativeComponents="0"
nrOfCells="52"
>
<!-- list of atoms: -->
<atoms>
<structuralComponent name="element list" >
<nrOfStructures value="35"/>
<atom>
<atomProperties index="0" x="-5" y="5" z="-5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="1" x="5" y="5" z="-5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="2" x="5" y="5" z="5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="3" x="-5" y="5" z="5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="4" x="-5" y="-5" z="-5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="5" x="5" y="-5" z="-5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="6" x="5" y="-5" z="5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="7" x="-5" y="-5" z="5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="10" x="0" y="5" z="-5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="21" x="5" y="5" z="0" mass="29.6296" />
</atom>
<atom>
<atomProperties index="30" x="-5" y="5" z="0" mass="29.6296" />
</atom>
<atom>
<atomProperties index="32" x="0" y="5" z="5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="40" x="-5" y="0" z="-5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="51" x="5" y="0" z="-5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="54" x="0" y="-5" z="-5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="62" x="5" y="0" z="5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="65" x="5" y="-5" z="0" mass="29.6296" />
</atom>
<atom>
<atomProperties index="73" x="-5" y="0" z="5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="74" x="-5" y="-5" z="0" mass="29.6296" />
</atom>
<atom>
<atomProperties index="76" x="0" y="-5" z="5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="100" x="0" y="0" z="0" mass="29.6296" />
</atom>
<atom>
<atomProperties index="101" x="0" y="5" z="0" mass="29.6296" />
</atom>
<atom>
<atomProperties index="102" x="0" y="0" z="-5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="103" x="5" y="0" z="0" mass="29.6296" />
</atom>
<atom>
<atomProperties index="104" x="0" y="0" z="5" mass="29.6296" />
</atom>
<atom>
<atomProperties index="105" x="-5" y="0" z="0" mass="29.6296" />
</atom>
<atom>
<atomProperties index="106" x="0" y="-5" z="0" mass="29.6296" />
</atom>
<atom>
<atomProperties index="200" x="-10" y="-10" z="-10"/>
</atom>
<atom>
<atomProperties index="201" x="10" y="-10" z="-10"/>
</atom>
<atom>
<atomProperties index="202" x="10" y="-10" z="10"/>
</atom>
<atom>
<atomProperties index="203" x="-10" y="-10" z="10"/>
</atom>
<atom>
<atomProperties index="204" x="-10" y="-12" z="-10"/>
</atom>
<atom>
<atomProperties index="205" x="10" y="-12" z="-10"/>
</atom>
<atom>
<atomProperties index="206" x="10" y="-12" z="10"/>
</atom>
<atom>
<atomProperties index="207" x="-10" y="-12" z="10"/>
</atom>
</structuralComponent>
</atoms>
<!-- list of exclusive components : -->
<exclusiveComponents>
<multiComponent name="Exclusive Components " >
<multiComponent name="Bodies">
<structuralComponent name="Cube" bodyType="FEM" mass="0.1" young="100" poisson="0.49" deformation="LARGE" collision="true" mode="WIREFRAME_AND_SURFACE">
<color r="0.5" g="0.5" b="0.8" a="1" />
<cell>
<cellProperties type="HEXAHEDRON"/>
<atomRef index="104"/>
<atomRef index="73"/>
<atomRef index="3"/>
<atomRef index="32"/>
<atomRef index="100"/>
<atomRef index="105"/>
<atomRef index="30"/>
<atomRef index="101"/>
</cell>
<cell>
<cellProperties type="HEXAHEDRON"/>
<atomRef index="100"/>
<atomRef index="105"/>
<atomRef index="30"/>
<atomRef index="101"/>
<atomRef index="102"/>
<atomRef index="40"/>
<atomRef index="0"/>
<atomRef index="10"/>
</cell>
<cell>
<cellProperties type="HEXAHEDRON"/>
<atomRef index="62"/>
<atomRef index="104"/>
<atomRef index="32"/>
<atomRef index="2"/>
<atomRef index="103"/>
<atomRef index="100"/>
<atomRef index="101"/>
<atomRef index="21"/>
</cell>
<cell>
<cellProperties type="HEXAHEDRON"/>
<atomRef index="103"/>
<atomRef index="100"/>
<atomRef index="101"/>
<atomRef index="21"/>
<atomRef index="51"/>
<atomRef index="102"/>
<atomRef index="10"/>
<atomRef index="1"/>
</cell>
<cell>
<cellProperties type="HEXAHEDRON"/>
<atomRef index="76"/>
<atomRef index="7"/>
<atomRef index="73"/>
<atomRef index="104"/>
<atomRef index="106"/>
<atomRef index="74"/>
<atomRef index="105"/>
<atomRef index="100"/>
</cell>
<cell>
<cellProperties type="HEXAHEDRON"/>
<atomRef index="106"/>
<atomRef index="74"/>
<atomRef index="105"/>
<atomRef index="100"/>
<atomRef index="54"/>
<atomRef index="4"/>
<atomRef index="40"/>
<atomRef index="102"/>
</cell>
<cell>
<cellProperties type="HEXAHEDRON"/>
<atomRef index="6"/>
<atomRef index="76"/>
<atomRef index="104"/>
<atomRef index="62"/>
<atomRef index="65"/>
<atomRef index="106"/>
<atomRef index="100"/>
<atomRef index="103"/>
</cell>
<cell>
<cellProperties type="HEXAHEDRON"/>
<atomRef index="65"/>
<atomRef index="106"/>
<atomRef index="100"/>
<atomRef index="103"/>
<atomRef index="5"/>
<atomRef index="54"/>
<atomRef index="102"/>
<atomRef index="51"/>
</cell>
</structuralComponent>
<structuralComponent name="CubeFloor" bodyType="FEM" mass="0" collision="true" mode="WIREFRAME_AND_SURFACE">
<color r="0.5" g="0.5" b="0.5" a="1" />
<cell>
<cellProperties type="HEXAHEDRON"/>
<atomRef index="200"/>
<atomRef index="201"/>
<atomRef index="202"/>
<atomRef index="203"/>
<atomRef index="204"/>
<atomRef index="205"/>
<atomRef index="206"/>
<atomRef index="207"/>
</cell>
</structuralComponent>
</multiComponent>
</multiComponent>
</exclusiveComponents>
<!-- list of informative components : -->
<informativeComponents>
</informativeComponents>
</physicalModel>
|