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

Method push_quad4

src/ini_load.hpp:253–297  ·  view source on GitHub ↗

---------------------------------- parse QUAD4 data */

Source from the content-addressed store, hash-verified

251 }
252 /*---------------------------------- parse QUAD4 data */
253 __normal_call void_type push_quad4 (
254 std:: size_t _ipos ,
255 std::int32_t *_node ,
256 std::int32_t _itag
257 )
258 {
259 __unreferenced(_ipos) ;
260 __unreferenced(_itag) ;
261
262 if (this->_ndim == +2 &&
263 this->_kind ==
264 jmsh_kind::euclidean_mesh)
265 {
266 typename
267 mesh_data::euclidean_mesh_2d
268 ::quad_type _qdat ;
269 _qdat.node(0) = _node[0];
270 _qdat.node(1) = _node[1];
271 _qdat.node(2) = _node[2];
272 _qdat.node(3) = _node[3];
273 _qdat.itag () = _itag ;
274
275 this->_init->
276 _euclidean_mesh_2d.
277 _mesh.push_quad(_qdat, false) ;
278 }
279 else
280 if (this->_ndim == +3 &&
281 this->_kind ==
282 jmsh_kind::euclidean_mesh)
283 {
284 typename
285 mesh_data::euclidean_mesh_3d
286 ::quad_type _qdat ;
287 _qdat.node(0) = _node[0];
288 _qdat.node(1) = _node[1];
289 _qdat.node(2) = _node[2];
290 _qdat.node(3) = _node[3];
291 _qdat.itag () = _itag ;
292
293 this->_init->
294 _euclidean_mesh_3d.
295 _mesh.push_quad(_qdat, false) ;
296 }
297 }
298 /*---------------------------------- parse TRIA4 data */
299 __normal_call void_type push_tria4 (
300 std:: size_t _ipos ,

Callers

nothing calls this directly

Calls 2

nodeMethod · 0.80
push_quadMethod · 0.45

Tested by

no test coverage detected