Home
last modified time | relevance | path

Searched refs:new_mpc (Results 1 – 1 of 1) sorted by relevance

/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/hecmw1/src/common/
H A Dhecmw_io_mesh.c3571 new_mpc = HECMW_malloc(sizeof(*new_mpc)); in post_equation_ngrp_to_node()
3572 if (new_mpc == NULL) { in post_equation_ngrp_to_node()
3576 memcpy(new_mpc, p, sizeof(*new_mpc)); in post_equation_ngrp_to_node()
3577 new_mpc->next = NULL; in post_equation_ngrp_to_node()
3578 new_mpc->item = NULL; in post_equation_ngrp_to_node()
3580 new_mpc->item = HECMW_malloc(sizeof(*new_mpc->item) * (p->neq)); in post_equation_ngrp_to_node()
3581 if (new_mpc == NULL) { in post_equation_ngrp_to_node()
3586 for (j = 0; j < new_mpc->neq; j++) { in post_equation_ngrp_to_node()
3594 _mpc = new_mpc; in post_equation_ngrp_to_node()
3596 prev->next = new_mpc; in post_equation_ngrp_to_node()
[all …]