- improvement documentation for surface sampling. - can now specify alternative sampling scheme for obtaining the face values instead of just using the "cell" value. For example, sampleScheme cellPoint; This can be useful for cases when the surface is close to a boundary cell and there are large gradients in the sampled field. - distanceSurface now handles non-closed surfaces more robustly. Unknown regions (not inside or outside) are marked internally and excluded from consideration. This allows use of 'signed' surfaces where not previously possible.
36 lines
932 B
Makefile
36 lines
932 B
Makefile
#-------------------------------*- makefile -*---------------------------------
|
|
WM_VERSION = OPENFOAM=1805
|
|
|
|
AR = ar
|
|
ARFLAGS = cr
|
|
RANLIB = ranlib
|
|
CPP = cpp
|
|
LD = ld
|
|
|
|
GFLAGS = -D$(WM_VERSION) -D$(WM_ARCH) -DWM_ARCH_OPTION=$(WM_ARCH_OPTION) \
|
|
-DWM_$(WM_PRECISION_OPTION) -DWM_LABEL_SIZE=$(WM_LABEL_SIZE)
|
|
GINC =
|
|
GLIBS = -lm
|
|
GLIB_LIBS =
|
|
|
|
|
|
COMPILER_TYPE = $(shell echo $(WM_COMPILER) | tr -d [:digit:])
|
|
DEFAULT_RULES = $(WM_DIR)/rules/$(WM_ARCH)$(COMPILER_TYPE)
|
|
RULES = $(WM_DIR)/rules/$(WM_ARCH)$(WM_COMPILER)
|
|
WMAKE_BIN = $(WM_DIR)/platforms/$(WM_ARCH)$(WM_COMPILER)
|
|
|
|
ifeq ($(WM_SCHEDULER),)
|
|
AND = &&
|
|
else
|
|
AND = '&&'
|
|
endif
|
|
|
|
include $(DEFAULT_RULES)/general
|
|
include $(DEFAULT_RULES)/c++
|
|
sinclude $(RULES)/general
|
|
sinclude $(RULES)/c++
|
|
include $(GENERAL_RULES)/transform
|
|
|
|
|
|
#------------------------------------------------------------------------------
|