uxarray icon indicating copy to clipboard operation
uxarray copied to clipboard

Add UxDataArray.data_location

Open erogluorhan opened this issue 2 years ago • 0 comments
trafficstars

Need to provide an enum or similar structure to indicate where data is stored in an UxDataArray.

UxDataArray.data_location: enumeration {“vertex_centered”, “face_centered”, “face_average”, “edge_centered”, “edge_orthogonal”, “edge_parallel”, “cgll”, “dgll”}

cgll/dgll: Continuous/Discrete Gaussian. Polynomial order of data may also need to be provided when using “cgll” or “dgll”.

Additional context Currently there are internal functions UxDataArray._face_centered() and UxDataArray._node_centered() that work with simply checking the dimensions of data array and return boolean values, which are used for visualization purposes. This effort should address all the need listed above.

erogluorhan avatar Oct 25 '23 15:10 erogluorhan