Batch Mode Input

# GeoEfficiency.typeofSrcFunction.

typeofSrc()::SrcType

return the current value of the global GeoEfficiency.srcType.

source

typeofSrc(x::Int)::SrcType

set and return the value of the global GeoEfficiency.srcType corresponding to x.

source

# GeoEfficiency.setSrcToPointFunction.

setSrcToPoint()::Bool

return whether the source type is a point or not.

source

setSrcToPoint(yes::Bool)::Bool

return whether the source type is a point or not after setting srcType to srcPoint if yes = true else if yes = false setting it to srcNotPoint if it was not already set to other non-point type (srcDisk, srcLine, srcVolume).

!!! note * The user can use this function to change the source type any time. * The source type is set the fist time asked for source.

see also: typeofSrc(::Int).

source

setSrcToPoint(prompt::AbstractString)::Bool

return whether the source type is a point or not. only prompt the user to set the source type if it were not already set before.

see also: typeofSrc(::Int), setSrcToPoint(::Bool).

source

!!! warnning Currently, the source type has no effect but to decide if the source is a point source or a higher dimension source.