mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- handles basic operations, references to other dictionary entries
(with '$name' syntax) and assorted mathematical functions:
pi(), degToRad, radToDeg, asin, acos, atan, sin, cos, tan, log,
log10, mag, atan2, pow
The basic syntax: #calc{ ... };
NOTE the trailing ';' is required for the primitiveEntry to be
properly defined.
14 lines
333 B
Plaintext
14 lines
333 B
Plaintext
# handie Coco/R attributed grammars
|
|
|
|
.SUFFIXES: .atg
|
|
|
|
atgtoo = \
|
|
$(WM_THIRD_PARTY_DIR)/coco-cpp/platforms/$(WM_ARCH)$(WM_COMPILER)/bin/coco-cpp \
|
|
-single \
|
|
-frames $(WM_THIRD_PARTY_DIR)/coco-cpp/platforms/share/coco-cpp \
|
|
$$SOURCE -o $(OBJECTS_DIR) && \
|
|
$(CC) $(c++FLAGS) -c $*.cpp -o $@
|
|
|
|
.atg.dep:
|
|
$(MAKE_DEP)
|