Skip to content

Commit

Permalink
Reworded HydrglPrp error message
Browse files Browse the repository at this point in the history
Removed the message that phi0 can be a field as well. This is a feature that will be added in the future. Additional small rewording and comments
  • Loading branch information
Chaitanya Joshi committed Apr 6, 2022
1 parent 7a19a09 commit dd0af9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion morpho5/geometry/functional.c
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ typedef struct {
objectmesh *refmesh;
grade grade;
double a, b, c, d, phiref; // Hydrogel coefficients
value phi0; // Can be a number or a field
value phi0; // Can be a number or a field. (Ensuring flexibility for supplying a phi0 field in the future)
} hydrogelref;

/** Prepares the reference structure from the object's properties */
Expand Down
2 changes: 1 addition & 1 deletion morpho5/geometry/functional.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
#define HYDROGEL_ARGS_MSG "Hydrogel requires a reference mesh and allows 'grade', 'a', 'b', 'c', 'd', 'phi0' and 'phiref' as optional arguments."

#define HYDROGEL_PRP "HydrglPrp"
#define HYDROGEL_PRP_MSG "Hydrogel requires properties 'reference' to be a mesh, 'grade' to be an integer grade, 'a', 'b', 'c' 'd' and 'phiref' to be numbers and 'phi0' as either a number or a field."
#define HYDROGEL_PRP_MSG "Hydrogel requires the first argument to be a mesh, 'grade' to be an integer grade, 'a', 'b', 'c' 'd', 'phi0' and 'phiref' to be numbers."

#define GRADSQ_ARGS "GradSqArgs"
#define GRADSQ_ARGS_MSG "GradSq requires a field as the argument."
Expand Down

0 comments on commit dd0af9a

Please sign in to comment.