GetDP API reference
GetDP.AbstractGetDPObject
— TypeGetDPObject
Base GetDP object that other objects inherit from.
GetDP.CaseItem_
— TypeCaseItem_
A case item in a GetDP object.
GetDP.Case_
— TypeCase_
A case in a GetDP object.
GetDP.Constraint
— TypeConstraint
Defining constraints.
GetDP.Formulation
— TypeFormulation
Building equations.
GetDP.Function
— TypeFunction
Defining functions.
GetDP.Group
— TypeGroup
Defining topological entities.
GetDP.ObjectItem
— TypeObjectItem
An object item in a GetDP object.
GetDP.PostOperation
— TypePostOperation
Defining post-operations.
GetDP.PostProcessing
— TypePostProcessing
Defining post-processing.
GetDP.Problem
— TypeProblem
The main problem definition class that brings together all the components.
GetDP.Resolution
— TypeResolution
Defining how to solve the problem.
GetDP.SimpleItem
— TypeSimpleItem
A simple item in a GetDP object.
GetDP.Abs
— MethodAbs(expression)
Generate the GetDP string representation for the absolute value/modulus function Abs[...]
. (Works for complex numbers).
GetDP.Acos
— MethodAcos(expression)
Generate the GetDP string representation for the arc cosine function Acos[...]
. Domain: expression in [-1, 1]. Range: [0, Pi]. (Real valued only).
GetDP.Asin
— MethodAsin(expression)
Generate the GetDP string representation for the arc sine function Asin[...]
. Domain: expression in [-1, 1]. Range: [-Pi/2, Pi/2]. (Real valued only).
GetDP.AtIndex
— MethodAtIndex(index_expr, list_expr::String)
Generate the GetDP string representation for accessing list element by index: AtIndex[index]{list}
. list_expr
is a comma-separated string list. Index is 0-based(? check GetDP docs).
GetDP.Atan
— MethodAtan(expression)
Generate the GetDP string representation for the arc tangent function Atan[...]
. Range: [-Pi/2, Pi/2]. (Real valued only).
GetDP.Atan2
— MethodAtan2(y, x)
Generate the GetDP string representation for the arc tangent function Atan2[y, x]
. Computes atan(y/x). Range: [-Pi, Pi]. (Real valued only).
GetDP.Ceil
— MethodCeil(expression)
Generate the GetDP string representation for the ceiling function Ceil[...]
. Rounds upwards. (Real valued only).
GetDP.CompElementNum
— MethodCompElementNum()
Generate the GetDP string representation to compare current and source element tags: CompElementNum[]
. Returns 0 if identical.
GetDP.ComplexScalarField
— MethodComplexScalarField(expression, expression_cst_list; timestep=0, elmt_interp=true)
Generate GetDP string for evaluating complex scalar fields: ComplexScalarField[expr, ts, interp]{list}
.
GetDP.ComplexTensorField
— MethodComplexTensorField(expression, expression_cst_list; timestep=0, elmt_interp=true)
Generate GetDP string for evaluating complex tensor fields: ComplexTensorField[expr, ts, interp]{list}
.
GetDP.ComplexVectorField
— MethodComplexVectorField(expression, expression_cst_list; timestep=0, elmt_interp=true)
Generate GetDP string for evaluating complex vector fields: ComplexVectorField[expr, ts, interp]{list}
.
GetDP.Cos
— MethodCos(expression)
Generate the GetDP string representation for the cosine function Cos[...]
.
GetDP.Cos_wt_p
— MethodCos_wt_p(omega, phase)
Generate the GetDP string representation for the time function Cos_wt_p[]{omega, phase}
. Real: Cos[omega*Time + phase]. Complex: Complex[Cos[phase], Sin[phase]].
GetDP.Cosh
— MethodCosh(expression)
Generate the GetDP string representation for the hyperbolic cosine function Cosh[...]
.
GetDP.Cross
— MethodCross(vector1, vector2)
Generate the GetDP string representation for the cross product Cross[vector1, vector2]
. Arguments must be vectors.
GetDP.Det
— MethodDet(expression)
Generate the GetDP string representation for the tensor determinant function Det[...]
. Expression must be a tensor.
GetDP.DualEdgesOf
— MethodDualEdgesOf(group::Group, args...; kwargs...)
Dual edges of elements of R1.
GetDP.DualFacetsOf
— MethodDualFacetsOf(group::Group, args...; kwargs...)
Dual facets of elements of R1.
GetDP.DualNodesOf
— MethodDualNodesOf(group::Group, args...; kwargs...)
Dual nodes of elements of R1.
GetDP.DualVolumesOf
— MethodDualVolumesOf(group::Group, args...; kwargs...)
Dual volumes of elements of R1.
GetDP.EdgesOf
— MethodEdgesOf(group::Group, args...; Not=nothing, kwargs...)
Edges of elements of R1 (Not: but not those of R2).
GetDP.EdgesOfTreeIn
— MethodEdgesOfTreeIn(group::Group, args...; StartingOn=nothing, kwargs...)
Edges of a tree of edges of R1 < StartingOn: a complete tree is first built on R2 >.
GetDP.ElementNum
— MethodElementNum()
Generate the GetDP string representation for the current element's tag: ElementNum[]
.
GetDP.ElementVol
— MethodElementVol()
Generate the GetDP string representation for the element's volume (or area/length): ElementVol[]
.
GetDP.ElementsOf
— MethodElementsOf(group::Group, args...; OnOneSideOf=nothing, OnPositiveSideOf=nothing, Not=nothing, kwargs...)
Elements of regions in R1.
- OnOneSideOf: only elements on one side of R2 (non-automatic, i.e., both sides if both in R1)
- OnPositiveSideOf: only elements on positive (normal) side of R2
- Not: but not those touching only its skin R3 (mandatory for free skins for correct separation of side layers)
GetDP.Exp
— MethodExp(expression)
Generate the GetDP string representation for the exponential function Exp[...]
. Example: Exp("x")
returns "Exp[x]"
.
GetDP.Fabs
— MethodFabs(expression)
Generate the GetDP string representation for the absolute value function Fabs[...]
. (Real valued only).
GetDP.FacetsOf
— MethodFacetsOf(group::Group, args...; Not=nothing, kwargs...)
Facets of elements of R1 (Not: but not those of R2).
GetDP.FacetsOfTreeIn
— MethodFacetsOfTreeIn(group::Group, args...; StartingOn=nothing, kwargs...)
Facets of a tree of facets of R1 < StartingOn: a complete tree is first built on R2 >.
GetDP.Field
— MethodField(eval_point_expr, tags_list_expr::String)
Generate the GetDP string representation for evaluating and summing specific Gmsh fields: Field[eval_point]{tags_list}
. tags_list_expr
is a comma-separated list of field tags.
GetDP.Field
— MethodField(eval_point_expr)
Generate the GetDP string representation for evaluating the last Gmsh field: Field[eval_point]
. Typically eval_point_expr
is XYZ[]
.
GetDP.Floor
— MethodFloor(expression)
Generate the GetDP string representation for the floor function Floor[...]
. Rounds downwards. (Real valued only).
GetDP.Fmod
— MethodFmod(x, y)
Generate the GetDP string representation for the floating-point remainder function Fmod[x, y]
. Remainder of x/y with sign of x. (Real valued only).
GetDP.GetCpuTime
— MethodGetCpuTime()
Generate GetDP string for getting CPU time: GetCpuTime[]
.
GetDP.GetMemory
— MethodGetMemory()
Generate GetDP string for getting memory usage (MB): GetMemory[]
.
GetDP.GetNumElements
— FunctionGetNumElements(list_expr::String="")
Generate the GetDP string representation for counting elements: GetNumElements[]{list}
. list_expr
is a comma-separated string of physical region tags, or empty for the current region.
GetDP.GetNumberRunTime
— MethodGetNumberRunTime(name::String; default_value=nothing)
Generate GetDP string for getting a ONELAB variable at runtime: GetNumberRunTime["name"]
or GetNumberRunTime["name"]{default}
.
GetDP.GetVariable
— MethodGetVariable(variable_id::String; default_value=nothing)
Generate GetDP string for getting a runtime variable: GetVariable[]{variable_id}
or GetVariable[default]{variable_id}
.
GetDP.GetVolume
— MethodGetVolume()
Generate the GetDP string representation for the volume of the current physical group: GetVolume[]
.
GetDP.GetWallClockTime
— MethodGetWallClockTime()
Generate GetDP string for getting wall clock time: GetWallClockTime[]
.
GetDP.Global
— MethodGlobal(group::Group, args...; kwargs...)
Regions in R1 (variant of Region used with global BasisFunctions BFGlobal and BFdGlobal).
GetDP.GroupOfRegionsOf
— MethodGroupOfRegionsOf(group::Group, args...; kwargs...)
Single group of elements of regions in R1 (with basis function BF_Region just one DOF is created for all elements of R1).
GetDP.GroupsOfEdgesOf
— MethodGroupsOfEdgesOf(group::Group, args...; InSupport=nothing, kwargs...)
Groups of edges of elements of R1 (a group is associated with each region). < InSupport: in a support R2 being a group of type ElementOf, i.e., containing elements >.
GetDP.GroupsOfEdgesOnNodesOf
— MethodGroupsOfEdgesOnNodesOf(group::Group, args...; Not=nothing, kwargs...)
Groups of edges incident to nodes of elements of R1 (a group is associated with each node). < Not: but not those of R2) >.
GetDP.GroupsOfNodesOf
— MethodGroupsOfNodesOf(group::Group, args...; kwargs...)
Groups of nodes of elements of R1 (a group is associated with each region).
GetDP.Hypot
— MethodHypot(a, b)
Generate the GetDP string representation for the hypotenuse function Hypot[a, b]
. Computes Sqrt(a^2 + b^2).
GetDP.InterpolationAkima
— MethodInterpolationAkima(x_expr, table_list_expr::String)
Generate the GetDP string representation for Akima interpolation: InterpolationAkima[x]{table}
. table_list_expr
is a comma-separated list of x,y pairs: "x1,y1,x2,y2,...".
GetDP.InterpolationBilinear
— MethodInterpolationBilinear(x_expr, y_expr, table_list_expr::String)
Generate the GetDP string representation for bilinear interpolation: InterpolationBilinear[x, y]{table}
. Table format needs checking in GetDP docs.
GetDP.InterpolationLinear
— MethodInterpolationLinear(x_expr, table_list_expr::String)
Generate the GetDP string representation for linear interpolation: InterpolationLinear[x]{table}
. table_list_expr
is a comma-separated list of x,y pairs: "x1,y1,x2,y2,...".
GetDP.Inv
— MethodInv(expression)
Generate the GetDP string representation for the inverse tensor function Inv[...]
. Expression must be a tensor.
GetDP.Jn
— MethodJn(order, value)
Generate the GetDP string representation for the Bessel function of the first kind Jn[order, value]
. (Real valued only).
GetDP.Log
— MethodLog(expression)
Generate the GetDP string representation for the natural logarithm function Log[...]
. Example: Log("x")
returns "Log[x]"
.
GetDP.Log10
— MethodLog10(expression)
Generate the GetDP string representation for the base-10 logarithm function Log10[...]
. Example: Log10("x")
returns "Log10[x]"
.
GetDP.Max
— MethodMax(a, b)
Generate the GetDP string representation for the maximum function Max[a, b]
. (Scalar, real valued only).
GetDP.Min
— MethodMin(a, b)
Generate the GetDP string representation for the minimum function Min[a, b]
. (Scalar, real valued only).
GetDP.NodesOf
— MethodNodesOf(group::Group, args...; Not=nothing, kwargs...)
Nodes of elements of R1 (Not: but not those of R2).
GetDP.Norm
— MethodNorm(expression)
Generate the GetDP string representation for the norm function Norm[...]
. Absolute value for scalar, Euclidean norm for vector.
GetDP.Normal
— MethodNormal()
Generate the GetDP string representation for the element's normal vector: Normal[]
.
GetDP.NormalSource
— MethodNormalSource()
Generate the GetDP string representation for the source element's normal vector: NormalSource[]
. (Valid in Integral quantity).
GetDP.Order
— MethodOrder(quantity_name)
Generate the GetDP string representation for getting interpolation order: Order[quantity]
.
GetDP.Period
— MethodPeriod(expression, period_const)
Generate the GetDP string representation for the periodic function Period[expr]{period_const}
. Result is always in [0, period_const[.
GetDP.Printf
— MethodPrintf(expression)
Generate the GetDP string representation for printing a value during evaluation: Printf[expression]
.
GetDP.QuadraturePointIndex
— MethodQuadraturePointIndex()
Generate the GetDP string representation for the current quadrature point index: QuadraturePointIndex[]
.
GetDP.Rand
— MethodRand(max_val)
Generate the GetDP string representation for a pseudo-random number in [0, maxval]: `Rand[maxval]`.
GetDP.Region
— MethodRegion(group::Group, args...; kwargs...)
Regions in R1.
GetDP.Rotate
— MethodRotate(object, rot_x, rot_y, rot_z)
Generate the GetDP string representation for the rotation function Rotate[object, rx, ry, rz]
. Rotates a vector or tensor object
by angles rot_x
, rot_y
, rot_z
(radians) around axes x, y, z.
GetDP.ScalarField
— MethodScalarField(expression, expression_cst_list; timestep=0, elmt_interp=true)
Generate GetDP string for evaluating scalar fields: ScalarField[expr, ts, interp]{list}
.
GetDP.SetNumberRunTime
— MethodSetNumberRunTime(value_expr, name::String)
Generate GetDP string for setting a ONELAB variable at runtime: SetNumberRunTime[value]{"name"}
.
GetDP.SetVariable
— MethodSetVariable(value_expr, variable_id::String)
Generate GetDP string for setting a runtime variable: SetVariable[value]{variable_id}
.
GetDP.Sign
— MethodSign(expression)
Generate the GetDP string representation for the sign function Sign[...]
. Returns -1 for expression < 0, 1 otherwise. (Real valued only).
GetDP.Sin
— MethodSin(expression)
Generate the GetDP string representation for the sine function Sin[...]
.
GetDP.Sin_wt_p
— MethodSin_wt_p(omega, phase)
Generate the GetDP string representation for the time function Sin_wt_p[]{omega, phase}
. Real: Sin[omega*Time + phase]. Complex: Complex[Sin[phase], -Cos[phase]].
GetDP.Sinh
— MethodSinh(expression)
Generate the GetDP string representation for the hyperbolic sine function Sinh[...]
.
GetDP.Sqrt
— MethodSqrt(expression)
Generate the GetDP string representation for the square root function Sqrt[...]
. Example: Sqrt("x")
returns "Sqrt[x]"
.
GetDP.SquNorm
— MethodSquNorm(expression)
Generate the GetDP string representation for the square norm function SquNorm[...]
. Equivalent to Norm[expression]^2.
GetDP.SurfaceArea
— FunctionSurfaceArea(list_expr::String="")
Generate the GetDP string representation for surface area calculation: SurfaceArea[]{list}
. list_expr
is a comma-separated string of physical surface tags, or empty for the current surface.
GetDP.TTrace
— MethodTTrace(tensor)
Generate the GetDP string representation for the tensor trace function TTrace[...]
. Expression must be a tensor.
GetDP.Tan
— MethodTan(expression)
Generate the GetDP string representation for the tangent function Tan[...]
.
GetDP.Tangent
— MethodTangent()
Generate the GetDP string representation for the element's tangent vector: Tangent[]
. (Valid for line elements).
GetDP.TangentSource
— MethodTangentSource()
Generate the GetDP string representation for the source element's tangent vector: TangentSource[]
. (Valid in Integral quantity, line elements).
GetDP.Tanh
— MethodTanh(expression)
Generate the GetDP string representation for the hyperbolic tangent function Tanh[...]
. (Real valued only).
GetDP.TanhC2
— MethodTanhC2(expression)
Generate the GetDP string representation for the complex hyperbolic tangent function TanhC2[...]
.
GetDP.TensorField
— MethodTensorField(expression, expression_cst_list; timestep=0, elmt_interp=true)
Generate GetDP string for evaluating tensor fields: TensorField[expr, ts, interp]{list}
.
GetDP.Transpose
— MethodTranspose(expression)
Generate the GetDP string representation for the transpose function Transpose[...]
. Expression must be a tensor.
GetDP.Unit
— MethodUnit(expression)
Generate the GetDP string representation for the unit vector function Unit[...]
. Computes expression / Norm[expression]. Returns 0 if norm is near zero.
GetDP.ValueFromIndex
— MethodValueFromIndex(list_expr::String)
Generate GetDP string for getting value from index map: ValueFromIndex[]{list}
. List format: "entity1, value1, entity2, value2, ...".
GetDP.ValueFromTable
— MethodValueFromTable(default_expr, table_name::String)
Generate GetDP string for getting value from PostOperation table: ValueFromTable[default]{"table_name"}
.
GetDP.VectorField
— MethodVectorField(expression, expression_cst_list; timestep=0, elmt_interp=true)
Generate GetDP string for evaluating vector fields: VectorField[expr, ts, interp]{list}
.
GetDP.VectorFromIndex
— MethodVectorFromIndex(list_expr::String)
Generate GetDP string for getting vector from index map: VectorFromIndex[]{list}
. List format: "entity1, v1x, v1y, v1z, entity2, v2x, ...".
GetDP.VolumesOf
— MethodVolumesOf(group::Group, args...; Not=nothing, kwargs...)
Volumes of elements of R1 (Not: but not those of R2).
GetDP.Yn
— MethodYn(order, value)
Generate the GetDP string representation for the Bessel function of the second kind Yn[order, value]
. (Real valued only).
GetDP.add!
— Functionadd!(group::Group, id="domain", glist=[1], gtype="Region"; operation="=", comment=nothing, kwargs...)
Add an expression to the Group object. The default group type is "Region". Use operation="=" to define a group or operation="+=" to extend an existing group.
GetDP.add!
— Methodadd!(base::Base_, args...; kwargs...)
Add a SimpleItem to a Base_ object.
GetDP.add!
— Methodadd!(case::Case_, args...; kwargs...)
Add a CaseItem_ to a Case_ object.
GetDP.add!
— Methodadd!(constraint::Constraint, name; type="Assign", comment=nothing)
Add a constraint to the Constraint object. Returns the ConstraintItem for adding cases.
GetDP.add!
— Methodadd!(formulation::Formulation, Name, Type; kwargs...)
Add a formulation item to a formulation.
GetDP.add!
— Methodadd!(equation::Equation, term_type::String, term::String; kwargs...)
Add an equation term to an equation.
GetDP.add!
— Methodadd!(func::Function, id, expression; comment=nothing)
Add a simple function to the Function object.
GetDP.add!
— Methodadd!(func::Function, id; expression, arguments=String[], region=String[], comment=nothing)
Add a function to the Function object with optional region and arguments.
GetDP.add!
— Methodadd!(obj::ObjectItem, args...; kwargs...)
Add a Case_ to an ObjectItem.
GetDP.add!
— Methodadd!(postoperation::PostOperation, id, NameOfPostProcessing; kwargs...)
Add a post-operation item.
GetDP.add!
— Methodadd!(postprocessing::PostProcessing, name::String, NameOfFormulation::String; kwargs...)
Add a post-processing item.
GetDP.add!
— Methodadd!(resolution::Resolution, id, system_name; kwargs...)
Add a resolution with system and operation to the Resolution object.
GetDP.add_akima!
— Methodadd_akima!(func::Function, id, x, y; comment=nothing)
Add an Akima interpolation function to the Function object.
GetDP.add_analytic!
— Methodadd_analytic!(func::Function, id, expression; comment=nothing)
Add an analytic function to the Function object.
GetDP.add_comment!
— Functionadd_comment!(obj::GetDPObject, comment_text, newline=true)
Add a comment to the object's content.
GetDP.add_comment!
— Functionadd_comment!(postoperation::PostOperation, comment_text, newline=true)
Add a comment to the PostOperation object.
GetDP.add_comment!
— Functionadd_comment!(func::Function, comment_text, newline=true)
Add a comment to the Function object.
GetDP.add_comment!
— Functionadd_comment!(formulation::Formulation, comment_text, newline=true)
Add a comment to the Formulation object.
GetDP.add_comment!
— Functionadd_comment!(resolution::Resolution, comment_text, newline=true)
Add a comment to the Resolution object.
GetDP.add_comment!
— Functionadd_comment!(constraint::Constraint, comment_text, newline=true)
Add a comment to the Constraint object.
GetDP.add_comment!
— Functionadd_comment!(postprocessing::PostProcessing, comment_text, newline=true)
Add a comment to the PostProcessing object.
GetDP.add_comment!
— Functionadd_comment!(problem::Problem, comment_text, newline=true)
Add a comment to the Problem object.
GetDP.add_comment!
— Methodadd_comment!(group::group, comment_text, newline=true)
Add a comment to the group object.
GetDP.add_constant!
— Methodadd_constant!(func::Function, variable, value; comment=nothing)
Add a global constant to the Function object.
GetDP.add_equation!
— Methodadd_equation!(item::FormulationItem, args...; kwargs...)
Add an equation to a formulation item.
GetDP.add_file!
— Methodadd_file!(func::Function, id, filename; comment=nothing)
Add a function from a file to the Function object.
GetDP.add_list!
— Methodadd_list!(func::Function, id, expression_list; comment=nothing)
Add a list of functions to the Function object.
GetDP.add_piecewise!
— Methodadd_piecewise!(func::Function, id, x, y; comment=nothing)
Add a piecewise function to the Function object.
GetDP.add_quantity!
— Methodadd_quantity!(item::FormulationItem, name::String; kwargs...)
Add a quantity to a formulation item.
GetDP.add_raw_code
— Functionadd_raw_code(s, raw_code, newline=true)
Add raw code to a string, optionally with a newline.
GetDP.add_raw_code!
— Functionadd_raw_code!(obj::GetDPObject, raw_code, newline=true)
Add raw code to the object's content.
GetDP.add_raw_code!
— Functionadd_raw_code!(postoperation::PostOperation, raw_code, newline=true)
Add raw code to the PostOperation object.
GetDP.add_raw_code!
— Functionadd_raw_code!(group::group, raw_code, newline=true)
Add raw code to the group object.
GetDP.add_raw_code!
— Functionadd_raw_code!(func::Function, raw_code, newline=true)
Add raw code to the Function object.
GetDP.add_raw_code!
— Functionadd_raw_code!(formulation::Formulation, raw_code, newline=true)
Add raw code to the Formulation object.
GetDP.add_raw_code!
— Functionadd_raw_code!(resolution::Resolution, raw_code, newline=true)
Add raw code to the Resolution object.
GetDP.add_raw_code!
— Functionadd_raw_code!(postprocessing::PostProcessing, raw_code, newline=true)
Add raw code to the PostProcessing object.
GetDP.add_raw_code!
— Functionadd_raw_code!(constraint::Constraint, raw_code, newline=true)
Add raw code to the Constraint object.
GetDP.add_raw_code!
— Functionadd_raw_code!(problem::Problem, raw_code, newline=true)
Add raw code to the Problem object.
GetDP.add_raw_code!
— Methodadd_raw_code!(poitem::PostOperationItem, raw_code)
Add raw code to a PostOperationItem.
GetDP.add_space!
— Functionadd_space!(group::Group, num_spaces::Int=1)
Add a specified number of empty lines to the Group object's content for spacing in the output.
GetDP.add_space!
— Functionadd_space!(function::Function, num_spaces::Int=1)
Add a specified number of empty lines to the function object's content for spacing in the output.
GetDP.assign!
— Methodassign!(constraint::Constraint, name; comment=nothing)
Add an Assign-type constraint to the Constraint object (shortcut for add!). Returns the ConstraintItem for adding cases.
GetDP.case!
— Methodcase!(item::ConstraintItem, region; value=nothing, time_function=nothing, comment=nothing)
Add a case to a ConstraintItem with specified region and parameters.
GetDP.code
— Methodcode(constraint::Constraint)
Generate GetDP code for a Constraint object.
GetDP.code
— Methodcode(formulation::Formulation)
Generate GetDP code for a Formulation object.
GetDP.code
— Methodcode(func::Function)
Generate GetDP code for a Function object.
GetDP.code
— Methodcode(obj::GetDPObject)
Generate GetDP code for the object.
GetDP.code
— Methodcode(group::Group)
Generate GetDP code for a Group object.
GetDP.code
— Methodcode(obj::ObjectItem)
Generate GetDP code for the object item.
GetDP.code
— Methodcode(postoperation::PostOperation)
Generate GetDP code for a PostOperation object.
GetDP.code
— Methodcode(postprocessing::PostProcessing)
Generate GetDP code for a PostProcessing object.
GetDP.code
— Methodcode(resolution::Resolution)
Generate GetDP code for a Resolution object.
GetDP.comment
— Methodcomment(s, style="short", newline=false)
Add a comment to a string, optionally with a newline.
GetDP.content
— Methodcontent(formulation::Formulation)
Get the content of a formulation.
GetDP.dInterpolationAkima
— MethoddInterpolationAkima(x_expr, table_list_expr::String)
Generate the GetDP string representation for the derivative of Akima interpolation: dInterpolationAkima[x]{table}
.
GetDP.dInterpolationBilinear
— MethoddInterpolationBilinear(x_expr, y_expr, table_list_expr::String)
Generate the GetDP string representation for the derivative of bilinear interpolation: dInterpolationBilinear[x, y]{table}
. Result is a vector.
GetDP.dInterpolationLinear
— MethoddInterpolationLinear(x_expr, table_list_expr::String)
Generate the GetDP string representation for the derivative of linear interpolation: dInterpolationLinear[x]{table}
.
GetDP.dJn
— MethoddJn(order, value)
Generate the GetDP string representation for the derivative of the Bessel function of the first kind dJn[order, value]
. (Real valued only).
GetDP.dYn
— MethoddYn(order, value)
Generate the GetDP string representation for the derivative of the Bessel function of the second kind dYn[order, value]
. (Real valued only).
GetDP.define!
— Functiondefine!(group::Group, id="domain")
Define a group.
GetDP.for_loop!
— Methodfor_loop!(item::ConstraintItem, index, range)
Set a For loop for the ConstraintItem (e.g., For k In {1:3}).
GetDP.get_code
— Methodget_code(problem::Problem)
Returns properly formatted GetDP code.
GetDP.include!
— Methodinclude!(problem::Problem, incl_file)
Include another GetDP file.
GetDP.make_problem!
— Methodmake_problem!(problem::Problem)
Generate the GetDP code for all objects in the Problem, including only non-empty components.
GetDP.write_file
— Methodwrite_file(problem::Problem)
Write the GetDP code to a file.