Gridap.Helpers
Gridap.Helpers — ModuleThis module provides a set of helper macros and helper functions
The exported macros are:
Gridap.Helpers.GridapType — Typeabstract type GridapType endGridap.Helpers.get_val_parameter — Methodget_val_parameter(::Val{T}) where T
get_val_parameter(::Type{Val{T}}) where TReturns T.
Gridap.Helpers.operate — MethodGridap.Helpers.operate — MethodGridap.Helpers.tfill — Methodtfill(v, ::Val{D}) where DReturns a tuple of length D that contains D times the object v. In contrast to tuple(fill(v,D)...) which returns the same result, this function is type-stable.
Gridap.Helpers.@abstractmethod — Macro@abstractmethodMacro used in generic functions that must be overloaded by derived types.
Gridap.Helpers.@notimplemented — Macro@notimplemented
@notimplemented "Error message"Macro used to raise an error, when something is not implemented.
Gridap.Helpers.@notimplementedif — Macro@notimplementedif condition
@notimplementedif condition "Error message"Macro used to raise an error if the condition is true
Gridap.Helpers.@unreachable — Macro@unreachable
@unreachable "Error message"Macro used to make sure that a line of code is never reached.