From 58eb73177f4ea930b8380772bd4c7fdaa663dc8f Mon Sep 17 00:00:00 2001 From: Ian Hinder Date: Mon, 21 May 2012 18:03:15 +0200 Subject: Add ParameterConditions option for CreateThorn This option allows the user to set certain conditions on parameters which must be satisfied otherwise the thorn aborts with a given error message (details in Doc/KrancDoc.tex). --- Doc/KrancDoc.tex | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Doc') diff --git a/Doc/KrancDoc.tex b/Doc/KrancDoc.tex index a39cb74..c4f06bc 100644 --- a/Doc/KrancDoc.tex +++ b/Doc/KrancDoc.tex @@ -968,6 +968,12 @@ same arguments, but they can be tensorial in nature. KeywordParameters & list of KeywordParameterDefinition structures & A list of parameter definition structures for all the keyword parameters which this thorn will define and use. (optional) & \{\} \\ + ParameterConditions & list of parameter conditions & Each condition + is of the form \{\textit{condition}, \textit{message}\}, where + \textit{condition} is a boolean expression in parameter names, and + \textit{message} is the message for a fatal error which is generated + when the thorn starts if \textit{condition} is not satisfied & \{\} \\ + InheritedImplementations & list of strings & A list of all the implementations which this thorn will inherit from. This is necessary to use grid functions provided by these implementations. (optional) & \{\} \\ -- cgit v1.2.3