comparison Notes.md @ 853:fe8fe3f01162 operator_storage_array_of_table

Docs touch up
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 17 Jan 2022 08:34:06 +0100
parents 1de10f5b2008
children 1784b1c0af3e eb03bda76bae
comparison
equal deleted inserted replaced
852:510f744d0876 853:fe8fe3f01162
51 implemented through keyword arguments that are sent through all the layers of 51 implemented through keyword arguments that are sent through all the layers of
52 operator creation. 52 operator creation.
53 53
54 * Remove order as a table name and put it as a variable. 54 * Remove order as a table name and put it as a variable.
55 55
56 ### Parsing 56 ### Parsing of stencil sets
57 At the moment the only parsing that can be done at the top level is conversion 57 At the moment the only parsing that can be done at the top level is conversion
58 from the toml file to a dict of strings. This forces the user to dig through 58 from the toml file to a dict of strings. This forces the user to dig through
59 the dictionary and apply the correct parsing methods for the different parts, 59 the dictionary and apply the correct parsing methods for the different parts,
60 e.g. `parse_stencil` or `parse_tuple`. While very flexible there is a tight 60 e.g. `parse_stencil` or `parse_tuple`. While very flexible there is a tight
61 coupling between what is written in the file and what code is run to make data 61 coupling between what is written in the file and what code is run to make data
64 the operator-storage format or somehow specifying the type of each object. 64 the operator-storage format or somehow specifying the type of each object.
65 This mechanism should be extensible without changing the package. Perhaps 65 This mechanism should be extensible without changing the package. Perhaps
66 there could be a way to register parsing functions or object types for the 66 there could be a way to register parsing functions or object types for the
67 toml. 67 toml.
68 68
69 If possible the goal should be for the parsing to get all the way to the
70 stencils so that a user calls `read_stencil_set` and gets a
71 dictionary-structure containing stencils, tuples, scalars and other types
72 ready for input to the methods creating the operators.
69 73
70 ## Variable second derivative 74 ## Variable second derivative
71 75
72 2020-12-08 after discussion with Vidar: 76 2020-12-08 after discussion with Vidar:
73 We will have to handle the variable second derivative in a new variant of 77 We will have to handle the variable second derivative in a new variant of