MCPcopy Create free account
hub / github.com/dengwirda/jigsaw / push_edge2

Method push_edge2

src/ini_load.hpp:167–207  ·  view source on GitHub ↗

---------------------------------- parse EDGE2 data */

Source from the content-addressed store, hash-verified

165 }
166 /*---------------------------------- parse EDGE2 data */
167 __normal_call void_type push_edge2 (
168 std:: size_t _ipos ,
169 std::int32_t *_node ,
170 std::int32_t _itag
171 )
172 {
173 __unreferenced(_ipos) ;
174 __unreferenced(_itag) ;
175
176 if (this->_ndim == +2 &&
177 this->_kind ==
178 jmsh_kind::euclidean_mesh)
179 {
180 typename
181 mesh_data::euclidean_mesh_2d
182 ::edge_type _edat ;
183 _edat.node(0) = _node[0];
184 _edat.node(1) = _node[1];
185 _edat.itag () = _itag ;
186
187 this->_init->
188 _euclidean_mesh_2d.
189 _mesh.push_edge(_edat, false) ;
190 }
191 else
192 if (this->_ndim == +3 &&
193 this->_kind ==
194 jmsh_kind::euclidean_mesh)
195 {
196 typename
197 mesh_data::euclidean_mesh_3d
198 ::edge_type _edat ;
199 _edat.node(0) = _node[0];
200 _edat.node(1) = _node[1];
201 _edat.itag () = _itag ;
202
203 this->_init->
204 _euclidean_mesh_3d.
205 _mesh.push_edge(_edat, false) ;
206 }
207 }
208 /*---------------------------------- parse TRIA3 data */
209 __normal_call void_type push_tria3 (
210 std:: size_t _ipos ,

Callers

nothing calls this directly

Calls 2

nodeMethod · 0.80
push_edgeMethod · 0.45

Tested by

no test coverage detected