vector support 1D vector with arbitrary lenght

simple hack to bypass the size check for vectors since vtk does not care the vector size.
This commit is contained in:
chen 2016-09-14 12:37:07 -04:00
parent 67a5edc93b
commit 53d2df6058
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ for name in filenames:
active = defaultdict(list) active = defaultdict(list)
for datatype,dimension,label in [['scalar',1,options.scalar], for datatype,dimension,label in [['scalar',1,options.scalar],
['vector',3,options.vector], ['vector',99,options.vector],
['tensor',9,options.tensor], ['tensor',9,options.tensor],
['color' ,3,options.color], ['color' ,3,options.color],
]: ]:

View File

@ -100,7 +100,7 @@ for name in filenames:
active = defaultdict(list) active = defaultdict(list)
for datatype,dimension,label in [['scalar',1,options.scalar], for datatype,dimension,label in [['scalar',1,options.scalar],
['vector',3,options.vector], ['vector',99,options.vector],
['tensor',9,options.tensor], ['tensor',9,options.tensor],
['color' ,3,options.color], ['color' ,3,options.color],
]: ]: