Face joining SCRIPT cs_mesh
Posted: Thu Oct 11, 2012 12:45 pm
It seems that I put my question in a wrong session...
How do we proceed the face joining work in script "cs_mesh" ?
I would like to do several face joinings, how to proceed ? (I have three mesh files .MED)
Thanks
========================================
void
cs_user_join(void)
{
int join_num;
/* Add a joining operation */
if (true) {
int verbosity = 1; /* per-task dump if > 1, debug level if >= 3 */
int visualization = 1; /* debug level if >= 3 */
float fraction = 0.10, plane = 1.;
join_num = cs_join_add("Jonction_P1_P2 or Jonction_P2_P1",
fraction,
plane,
verbosity,
visualization);
I should add the other face joinings just after the above lines.
what about the following lines, any modifications ?!
/* Read input mesh with no modification */
if (false) {
cs_preprocessor_data_add_file("mesh_input/mesh_01", 0, NULL, NULL);
}
--------------------------------------------
jiesheng
How do we proceed the face joining work in script "cs_mesh" ?
I would like to do several face joinings, how to proceed ? (I have three mesh files .MED)
Thanks
========================================
void
cs_user_join(void)
{
int join_num;
/* Add a joining operation */
if (true) {
int verbosity = 1; /* per-task dump if > 1, debug level if >= 3 */
int visualization = 1; /* debug level if >= 3 */
float fraction = 0.10, plane = 1.;
join_num = cs_join_add("Jonction_P1_P2 or Jonction_P2_P1",
fraction,
plane,
verbosity,
visualization);
I should add the other face joinings just after the above lines.
what about the following lines, any modifications ?!
/* Read input mesh with no modification */
if (false) {
cs_preprocessor_data_add_file("mesh_input/mesh_01", 0, NULL, NULL);
}
--------------------------------------------
jiesheng