Skip to content
Snippets Groups Projects
Commit 0f8f808b authored by Laura Christine Kühle's avatar Laura Christine Kühle
Browse files

Added documentation to '_calculate_reconstructions()' in Basis.

parent ae52db8f
No related branches found
No related tags found
No related merge requests found
......@@ -162,6 +162,21 @@ class Basis:
return np.array(list(map(np.float64, cell_averages)))
def _calculate_reconstructions(self, projection):
"""Calculate left and right reconstructions for a given projection.
Parameters
----------
projection : ndarray
Matrix of projection for each polynomial degree.
Returns
-------
left_reconstruction: ndarray
List containing left reconstructions for given projection.
right_reconstruction: ndarray
List containing right reconstructions for given projection.
"""
left_reconstructions = calculate_approximate_solution(
projection, np.array([-1]), self._polynomial_degree, self._basis)
right_reconstructions = calculate_approximate_solution(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment