Added missing reorder-only tests to plane waves 3d configs.

parent ef5b3dfc
......@@ -35,12 +35,22 @@ var l_parts = [1, 8];
for( var l_cl = 0; l_cl < l_cls.length; l_cl++ ) {
for( var l_ty = 0; l_ty < l_base.length; l_ty++ ) {
for( var l_pa = 0; l_pa < l_parts.length; l_pa++ ) {
console.log( 'generating config for char length / type / part:', l_cls[l_cl], '/', l_base[l_ty], '/', l_parts[l_pa] );
for( var l_ro = 0; l_ro < 2; l_ro++ ) {
var l_id = l_base[l_ty] + '_cl_' + l_cls[l_cl] + '_pa_' + l_parts[l_pa];
// create reorder-only mesh for parallel configs
if( l_base[l_ty] == 'gts' && l_parts[l_pa] != 1 && l_ro == 1 ) {
l_id = l_id + '_reorder_only';
}
else if( l_ro == 1 ) {
continue;
}
console.log( 'generating config for char length / type / part / reorder only:', l_cls[l_cl], '/', l_base[l_ty], '/', l_parts[l_pa] ), '/', l_ro;
var l_meshBase = 'meshes/gen/edge_v/' + l_base[l_ty] + '_cl_' + l_cls[l_cl] + '_pa_' + l_parts[l_pa];
var l_meshBase = 'meshes/gen/edge_v/' + l_id;
var l_meshExt = '.msh';
var l_config = 'gen/' + l_base[l_ty] + '_cl_' + l_cls[l_cl] + '_pa_' + l_parts[l_pa] + '.xml';
var l_config = 'gen/' + l_id + '.xml';
l_fs.outputFile(
l_config,
......@@ -48,8 +58,7 @@ for( var l_cl = 0; l_cl < l_cls.length; l_cl++ ) {
'config.njk', {
i_meshBase: l_meshBase,
i_meshExt: l_meshExt,
i_errorXml: 'errors/' + l_base[l_ty] + '_cl_' + l_cls[l_cl] + '_pa_' + l_parts[l_pa] + '.xml'
}
i_errorXml: 'errors/' + l_id + '.xml' }
),
function(l_err) {
if(l_err) return console.log( l_err );
......@@ -57,5 +66,6 @@ for( var l_cl = 0; l_cl < l_cls.length; l_cl++ ) {
)
}
}
}
}
console.log( 'done' )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment