From 059feafdb8e5d7c6ed00a02ee940b52ef6062e03 Mon Sep 17 00:00:00 2001 From: jClugstor Date: Fri, 30 Aug 2024 15:01:02 -0400 Subject: [PATCH] strip_solution description --- docs/src/basics/solution.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/src/basics/solution.md b/docs/src/basics/solution.md index 74d27cc1e..4a7158734 100644 --- a/docs/src/basics/solution.md +++ b/docs/src/basics/solution.md @@ -189,3 +189,11 @@ error state of the solution. The retcodes are as follows: Extra fields for solutions of specific problems are specified in the appropriate problem definition page. + +## Solution Function Stripping +By default solution objects store functions, making them difficult to serialize. Using the function +`strip_solution(sol)`, a copy of the solution that does not contain any functions is created. + +```@docs +SciMLBase.strip_solution +``` \ No newline at end of file