1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
########################## Makefile ##############################################
#
# author: Ulrich Razafison <ulrich.razafison@math.cnrs.fr> (2008)
# author: Christian Laguerre <christian.laguerre@math.cnrs.fr> (2010)
# author: FrŽdŽric Darboux <frederic.darboux@inra.fr> (2012-2019)
# author: Marco Mancini <marco.mancini@univ-orleans.fr> (2019)
# author: Carine Lucas <carine.lucas@univ-orleans.fr> (2020)
# version: 1.09.02
# date: 2020-03-27
#
# License Cecill-V2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.html>
#
# (C) CNRS - Universite d'Orleans - BRGM - INRA (France)
#
# This file is part of FullSWOF_2D software.
# <https://sourcesup.renater.fr/projects/fullswof-2d/>
#
# FullSWOF_2D = Full Shallow-Water equations for Overland Flow,
# in two dimensions of space.
# This software is a computer program whose purpose is to compute
# solutions for 2D Shallow-Water equations.
#
# LICENSE
#
# This software is governed by the CeCILL license under French law and
# abiding by the rules of distribution of free software. You can use,
# modify and/ or redistribute the software under the terms of the CeCILL
# license as circulated by CEA, CNRS and INRIA at the following URL
# <http://www.cecill.info>.
#
# As a counterpart to the access to the source code and rights to copy,
# modify and redistribute granted by the license, users are provided only
# with a limited warranty and the software's author, the holder of the
# economic rights, and the successive licensors have only limited
# liability.
#
# In this respect, the user's attention is drawn to the risks associated
# with loading, using, modifying and/or developing or reproducing the
# software by the user in light of its specific status of free software,
# that may mean that it is complicated to manipulate, and that also
# therefore means that it is reserved for developers and experienced
# professionals having in-depth computer knowledge. Users are therefore
# encouraged to load and test the software's suitability as regards their
# requirements in conditions enabling the security of their systems and/or
# data to be ensured and, more generally, to use and operate it in the
# same conditions as regards security.
#
# The fact that you are presently reading this means that you have had
# knowledge of the CeCILL license and that you accept its terms.
#
##################################################################################
SHELL := /bin/bash
CONFIG := ./make_config

## include specify options for configuration
include $(CONFIG)
###

## detect if COMPILER is clang or gcc to avoid warning messages due to the -ffloat-store option
ifeq ($(shell $(CPP) -v 2>&1 | grep -c "clang"), 1)
	COMPILER := clang
	LDFLAGS += -Wno-ignored-optimization-argument  '-ffloat-store'
	CPPFLAGS += -Wno-ignored-optimization-argument '-ffloat-store'
else
	COMPILER := gcc
endif
###

TARGET_EXEC ?= FullSWOF_2D

TARGET_EXEC_BENCH ?= $(TARGET_EXEC)_bench

DIR_BENCH := ./Benchmarks

BUILD_DIR ?= ./build

BUILD_DIR_BENCH ?= $(BUILD_DIR)/bench

SRC_DIRS ?= ./Sources

INC_DIRS ?= ./Headers

DIR_TOOLS ?= ./Tools

BENCHEXE := BenchEvalFS2D.sh

BENCHPS2DEXE := BenchEvalFS2Dpseudo2D.sh

DIFFCMPEXE := diffCMPFS2D.sh

REPORTDIFFEXE := reportDiffFS2D.sh

SRCS := $(shell find $(SRC_DIRS) -name "*.cpp" -type f \( ! -iname ".*" \))

OBJS := $(SRCS:%=$(BUILD_DIR)/%.o)
DEPS := $(OBJS:.o=.d)

OBJS_BENCH := $(SRCS:%=$(BUILD_DIR_BENCH)/%.o)
DEPS_BENCH := $(OBJS_BENCH:.o=.d)

INC_DIRS := $(shell find $(INC_DIRS) -type d)
INC_FLAGS := $(addprefix -I,$(INC_DIRS))

CPPFLAGS += $(INC_FLAGS) -MMD -MP
CPPFLAGS_BENCH = $(CPPFLAGS) -ffloat-store

MKDIR_P ?= mkdir -p

ifeq ($(DEBUG),yes)
	Compil_msg=" Compiling $(TARGET_EXEC) using debug mode "
else
	Compil_msg=" Compiling $(TARGET_EXEC) using release mode"
endif

.PHONY: $(TARGET_EXEC) $(TARGET_EXEC_BENCH) clean cleanbenchuser \
	cleanbenchref distclean start_prt start_prt_bench \
	benchuser_header benchref_header benchuser benchcalc \
	benchref construction_tools clean_tools \
	Bump_restemerged_target MacDo_Rain_flu_DW_target MacDo_Rain_tor_DW_target \
	MacDo_flu_tor_flu_Man_target MacDoP2D_tor_Man_target \
	MacDoP2D_flu_Man_target Dry_Dam_Break_target Thacker_planar_target

#############################
# Targets for release version
#############################
$(TARGET_EXEC) : start_prt $(BUILD_DIR)/$(TARGET_EXEC)
	@echo " $(TARGET_EXEC) => $(BIN)"
	@cp $(BUILD_DIR)/$(TARGET_EXEC) $(BIN)/

$(BUILD_DIR)/$(TARGET_EXEC): $(OBJS)
	@echo " Linking $@"
	@$(CPP) $(OBJS) -o $@ $(LDFLAGS)

start_prt :
	@echo
	@echo "__________________________________________"
	@echo $(Compil_msg)
	@echo

-include $(DEPS)


$(BUILD_DIR)/%.cpp.o: %.cpp $(CONFIG)
	@echo " Compiling $<"
	@$(MKDIR_P) $(dir $@)
	@$(CPP) $(CPPFLAGS) -c $< -o $@

#############################
# Targets for bench version
#############################
$(TARGET_EXEC_BENCH) : start_prt_bench $(BUILD_DIR_BENCH)/$(TARGET_EXEC_BENCH)
	@echo " $(TARGET_EXEC_BENCH) => $(BIN)"
	@cp $(BUILD_DIR_BENCH)/$(TARGET_EXEC_BENCH) $(BIN)/

$(BUILD_DIR_BENCH)/$(TARGET_EXEC_BENCH): $(OBJS_BENCH)
	@echo " Linking $@"
	@$(CPP) $(OBJS_BENCH) -o $@ $(LDFLAGS)

start_prt_bench :
	@echo
	@echo "__________________________________________"
	@echo " Compiling $(TARGET_EXEC_BENCH) for benchmarks"
	@echo

-include $(DEPS_BENCH)

$(BUILD_DIR_BENCH)/%.cpp.o: %.cpp $(CONFIG)
	@echo " Compiling $<"
	@$(MKDIR_P) $(dir $@)
	@$(CPP) $(CPPFLAGS_BENCH) -c $< -o $@

construction_tools :
	@cd $(DIR_TOOLS)/ConvertFormat && make $(Display_command)
	@cd $(DIR_TOOLS)/ExtractWindow && make $(Display_command)

clean_tools:
	@cd $(DIR_TOOLS)/ConvertFormat && make clean $(Display_command)
	@cd $(DIR_TOOLS)/ExtractWindow && make clean $(Display_command)

clean:
	$(RM) -r $(BUILD_DIR)/$(SRC_DIRS)
	$(RM)  $(BUILD_DIR)/$(TARGET_EXEC)
	$(RM)  $(BIN)/$(TARGET_EXEC)
	$(RM) -r $(BUILD_DIR_BENCH)
	$(RM)  $(BIN)/$(TARGET_EXEC_BENCH)

cleanbenchuser:
	$(RM) -r $(BUILD_DIR_BENCH)
	$(RM)  $(BIN)/$(TARGET_EXEC_BENCH)
	@echo "Purging directories 'Outputs' in $(DIR_BENCH)"
	@find $(DIR_BENCH)/*/Outputs -type f -name "*.dat" -delete
	@find $(DIR_BENCH)/ -type f -name "*USER.dat" -delete

cleanbenchref:
	$(RM) -r $(BUILD_DIR_BENCH)
	$(RM)  $(BIN)/$(TARGET_EXEC_BENCH)
	@echo "Purging directories 'Outputs_REFERENCES' and 'Outputs' in $(DIR_BENCH)"
	@for file in $$(find $(DIR_BENCH)/ -type d -name Outputs_REFERENCES); do\
		echo $$file;\
		$(RM) -r $$file;\
	done
	@find $(DIR_BENCH)/ -type f \( -name "diff_REF_STANDARD.dat" -or -name "comp_REFERENCES.dat" \) -delete

distclean : clean cleanbenchuser cleanbenchref clean_tools
	@find ./doc \( -name "*.log" -o -name "*.aux" -o -name "*.toc" -o -name "*.out" \) -delete
	@$(RM) -r $(BUILD_DIR)


###################################################
# Rules to run Benchmarks
###################################################

Bump_restemerged_target : $(TARGET_EXEC_BENCH)
	@ echo -e "\n\n***** Emerged bump at rest ******************************"
	@ cd $(DIR_BENCH)/Bump_restemerged && ../../$(BIN)/$(TARGET_EXEC_BENCH)

MacDo_Rain_flu_DW_target : $(TARGET_EXEC_BENCH)
	@ echo -e "\n\n***** MacDonald: Rain fluvial Darcy-Weisbach ************"
	@ cd $(DIR_BENCH)/MacDo_Rain_flu_DW  && ../../$(BIN)/$(TARGET_EXEC_BENCH)

MacDo_Rain_tor_DW_target : $(TARGET_EXEC_BENCH)
	@ echo -e "\n\n***** MacDonald: Rain torrential Darcy-Weisbach *********"
	@ cd $(DIR_BENCH)/MacDo_Rain_tor_DW  && ../../$(BIN)/$(TARGET_EXEC_BENCH)

MacDo_flu_tor_flu_Man_target : $(TARGET_EXEC_BENCH)
	@ echo -e "\n\n***** MacDonald: Smooth transition with shock Manning ***"
	@ cd $(DIR_BENCH)/MacDo_flu_tor_flu_Man && ../../$(BIN)/$(TARGET_EXEC_BENCH)

MacDoP2D_tor_Man_target : $(TARGET_EXEC_BENCH)
	@ echo -e "\n\n***** MacDonald: Pseudo 2D torrential Manning ***********"
	@ cd $(DIR_BENCH)/MacDoP2D_tor_Man && ../../$(BIN)/$(TARGET_EXEC_BENCH)

MacDoP2D_flu_Man_target : $(TARGET_EXEC_BENCH)
	@ echo -e "\n\n***** MacDonald: Pseudo 2D fluvial Manning **************"
	@ cd $(DIR_BENCH)/MacDoP2D_flu_Man && ../../$(BIN)/$(TARGET_EXEC_BENCH)

Dry_Dam_Break_target : $(TARGET_EXEC_BENCH)
	@ echo -e "\n\n***** Dry dam break *************************************"
	@ cd $(DIR_BENCH)/Dry_Dam_Break && ../../$(BIN)/$(TARGET_EXEC_BENCH)

Thacker_planar_target : $(TARGET_EXEC_BENCH)
	@ echo -e "\n\n***** Thacker planar ************************************"
	@ cd $(DIR_BENCH)/Thacker_planar && ../../$(BIN)/$(TARGET_EXEC_BENCH)

benchcalc: Bump_restemerged_target MacDo_Rain_flu_DW_target MacDo_Rain_tor_DW_target \
	MacDo_flu_tor_flu_Man_target MacDoP2D_tor_Man_target \
	MacDoP2D_flu_Man_target Dry_Dam_Break_target Thacker_planar_target

benchuser_header :
	@ echo " "
	@ echo "WARNING: you will compute all the Benchmark solutions."
	@ echo "This might take a few minutes."
	@ echo " "

benchuser: benchuser_header benchcalc
	@ echo " "
	@ echo "*** Comparison between current and reference results ***"
	@ # Compare results
	@ cd $(DIR_BENCH)/Bump_restemerged && ../../$(BIN)/$(BENCHEXE) analytic.dat 29 Outputs/huz_final.dat 6 > comp_USER.dat
	@ cd $(DIR_BENCH)/Bump_restemerged && ../../$(BIN)/$(DIFFCMPEXE) comp_REFERENCES.dat comp_USER.dat > diff_REF_USER.dat
	@ cd $(DIR_BENCH)/Bump_restemerged && echo -n "Emerged bump at rest:                              "  && ../../$(BIN)/$(REPORTDIFFEXE) diff_REF_USER.dat
	@ cd $(DIR_BENCH)/MacDo_Rain_flu_DW && ../../$(BIN)/$(BENCHEXE) analytic.dat 33 Outputs/huz_final.dat 6 > comp_USER.dat
	@ cd $(DIR_BENCH)/MacDo_Rain_flu_DW && ../../$(BIN)/$(DIFFCMPEXE) comp_REFERENCES.dat comp_USER.dat > diff_REF_USER.dat
	@ cd $(DIR_BENCH)/MacDo_Rain_flu_DW && echo -n "MacDonald: Rain fluvial Darcy-Weisbach:            " && ../../$(BIN)/$(REPORTDIFFEXE) diff_REF_USER.dat
	@ cd $(DIR_BENCH)/MacDo_Rain_tor_DW && ../../$(BIN)/$(BENCHEXE) analytic.dat 32 Outputs/huz_final.dat 6 > comp_USER.dat
	@ cd $(DIR_BENCH)/MacDo_Rain_tor_DW && ../../$(BIN)/$(DIFFCMPEXE) comp_REFERENCES.dat comp_USER.dat > diff_REF_USER.dat
	@ cd $(DIR_BENCH)/MacDo_Rain_tor_DW && echo -n "MacDonald: Rain torrential Darcy-Weisbach:         " && ../../$(BIN)/$(REPORTDIFFEXE) diff_REF_USER.dat
	@ cd $(DIR_BENCH)/MacDo_flu_tor_flu_Man && ../../$(BIN)/$(BENCHEXE) analytic.dat 32 Outputs/huz_final.dat 6 > comp_USER.dat
	@ cd $(DIR_BENCH)/MacDo_flu_tor_flu_Man && ../../$(BIN)/$(DIFFCMPEXE) comp_REFERENCES.dat comp_USER.dat > diff_REF_USER.dat
	@ cd $(DIR_BENCH)/MacDo_flu_tor_flu_Man && echo -n "MacDonald: Smooth transition with shock Manning:   " && ../../$(BIN)/$(REPORTDIFFEXE) diff_REF_USER.dat
	@ cd $(DIR_BENCH)/MacDoP2D_tor_Man && ../../$(BIN)/$(BENCHPS2DEXE) analytic.dat 28 Outputs/huz_final.dat 6 9 > comp_USER.dat
	@ cd $(DIR_BENCH)/MacDoP2D_tor_Man && ../../$(BIN)/$(DIFFCMPEXE) comp_REFERENCES.dat comp_USER.dat > diff_REF_USER.dat
	@ cd $(DIR_BENCH)/MacDoP2D_tor_Man && echo -n "MacDonald: Pseudo 2D torrential Manning:           " && ../../$(BIN)/$(REPORTDIFFEXE) diff_REF_USER.dat
	@ cd $(DIR_BENCH)/MacDoP2D_flu_Man && ../../$(BIN)/$(BENCHPS2DEXE) analytic.dat 28 Outputs/huz_final.dat 6 99999 > comp_USER.dat
	@ cd $(DIR_BENCH)/MacDoP2D_flu_Man && ../../$(BIN)/$(DIFFCMPEXE) comp_REFERENCES.dat comp_USER.dat > diff_REF_USER.dat
	@ cd $(DIR_BENCH)/MacDoP2D_flu_Man && echo -n "MacDonald: Pseudo 2D fluvial Manning:              " && ../../$(BIN)/$(REPORTDIFFEXE) diff_REF_USER.dat
	@ cd $(DIR_BENCH)/Dry_Dam_Break && ../../$(BIN)/$(BENCHEXE) analytic.dat 26 Outputs/huz_final.dat 6 > comp_USER.dat
	@ cd $(DIR_BENCH)/Dry_Dam_Break && ../../$(BIN)/$(DIFFCMPEXE) comp_REFERENCES.dat comp_USER.dat > diff_REF_USER.dat
	@ cd $(DIR_BENCH)/Dry_Dam_Break && echo -n "Dry dam break:                                     " && ../../$(BIN)/$(REPORTDIFFEXE) diff_REF_USER.dat
	@ cd $(DIR_BENCH)/Thacker_planar && ../../$(BIN)/$(BENCHEXE) analytic.dat 22 Outputs/huz_final.dat 6 > comp_USER.dat
	@ cd $(DIR_BENCH)/Thacker_planar && ../../$(BIN)/$(DIFFCMPEXE) comp_REFERENCES.dat comp_USER.dat > diff_REF_USER.dat
	@ cd $(DIR_BENCH)/Thacker_planar && echo -n "Thacker planar:                                    " && ../../$(BIN)/$(REPORTDIFFEXE) diff_REF_USER.dat

benchref_header:
	@ echo " "
	@ echo "REFERENCE solutions for each Benchmark test."
	@ echo "WARNING: the previous reference solutions will be replaced."
	@ echo "This might take a few minutes."
	@ echo "  "

benchref: benchref_header benchcalc
	@ echo " "
	@ echo "*** Comparison between reference and standard results ***"
	@ # Get ready for comparisons
	@ cd $(DIR_BENCH) &&\
	for SUBDIR in ./* ; do \
		cd $$SUBDIR && rm -rf Outputs_REFERENCES && mkdir Outputs_REFERENCES && mv Outputs/* Outputs_REFERENCES/ && mv Outputs_REFERENCES/dummy.txt Outputs/ && cd ..; \
	done
	@ # Compare results
	@ cd $(DIR_BENCH)/Bump_restemerged && ../../$(BIN)/$(BENCHEXE) analytic.dat 29 Outputs_REFERENCES/huz_final.dat 6 > comp_REFERENCES.dat
	@ cd $(DIR_BENCH)/Bump_restemerged && ../../$(BIN)/$(DIFFCMPEXE) comp_REFERENCES.dat comp_STANDARD.dat > diff_REF_STANDARD.dat
	@ cd $(DIR_BENCH)/Bump_restemerged && echo -n "Emerged bump at rest:                              " && ../../$(BIN)/$(REPORTDIFFEXE) diff_REF_STANDARD.dat
	@ cd $(DIR_BENCH)/MacDo_Rain_flu_DW && ../../$(BIN)/$(BENCHEXE) analytic.dat 33 Outputs_REFERENCES/huz_final.dat 6 > comp_REFERENCES.dat
	@ cd $(DIR_BENCH)/MacDo_Rain_flu_DW && ../../$(BIN)/$(DIFFCMPEXE) comp_REFERENCES.dat comp_STANDARD.dat > diff_REF_STANDARD.dat
	@ cd $(DIR_BENCH)/MacDo_Rain_flu_DW && echo -n "MacDonald: Rain fluvial Darcy-Weisbach:            " && ../../$(BIN)/$(REPORTDIFFEXE) diff_REF_STANDARD.dat
	@ cd $(DIR_BENCH)/MacDo_Rain_tor_DW && ../../$(BIN)/$(BENCHEXE) analytic.dat 32 Outputs_REFERENCES/huz_final.dat 6 > comp_REFERENCES.dat
	@ cd $(DIR_BENCH)/MacDo_Rain_tor_DW && ../../$(BIN)/$(DIFFCMPEXE) comp_REFERENCES.dat comp_STANDARD.dat > diff_REF_STANDARD.dat
	@ cd $(DIR_BENCH)/MacDo_Rain_tor_DW && echo -n "MacDonald: Rain torrential Darcy-Weisbach:         " && ../../$(BIN)/$(REPORTDIFFEXE) diff_REF_STANDARD.dat
	@ cd $(DIR_BENCH)/MacDo_flu_tor_flu_Man && ../../$(BIN)/$(BENCHEXE) analytic.dat 32 Outputs_REFERENCES/huz_final.dat 6 > comp_REFERENCES.dat
	@ cd $(DIR_BENCH)/MacDo_flu_tor_flu_Man && ../../$(BIN)/$(DIFFCMPEXE) comp_REFERENCES.dat comp_STANDARD.dat > diff_REF_STANDARD.dat
	@ cd $(DIR_BENCH)/MacDo_flu_tor_flu_Man && echo -n "MacDonald: Smooth transition with shock Manning:   " && ../../$(BIN)/$(REPORTDIFFEXE) diff_REF_STANDARD.dat
	@ cd $(DIR_BENCH)/MacDoP2D_tor_Man && ../../$(BIN)/$(BENCHPS2DEXE) analytic.dat 28 Outputs_REFERENCES/huz_final.dat 6 9 > comp_REFERENCES.dat
	@ cd $(DIR_BENCH)/MacDoP2D_tor_Man && ../../$(BIN)/$(DIFFCMPEXE) comp_REFERENCES.dat comp_STANDARD.dat > diff_REF_STANDARD.dat
	@ cd $(DIR_BENCH)/MacDoP2D_tor_Man && echo -n "MacDonald: Pseudo 2D torrential Manning:           " && ../../$(BIN)/$(REPORTDIFFEXE) diff_REF_STANDARD.dat
	@ cd $(DIR_BENCH)/MacDoP2D_flu_Man && ../../$(BIN)/$(BENCHPS2DEXE) analytic.dat 28 Outputs_REFERENCES/huz_final.dat 6 99999 > comp_REFERENCES.dat
	@ cd $(DIR_BENCH)/MacDoP2D_flu_Man && ../../$(BIN)/$(DIFFCMPEXE) comp_REFERENCES.dat comp_STANDARD.dat > diff_REF_STANDARD.dat
	@ cd $(DIR_BENCH)/MacDoP2D_flu_Man && echo -n "MacDonald: Pseudo 2D fluvial Manning:              " && ../../$(BIN)/$(REPORTDIFFEXE) diff_REF_STANDARD.dat
	@ cd $(DIR_BENCH)/Dry_Dam_Break && ../../$(BIN)/$(BENCHEXE) analytic.dat 26 Outputs_REFERENCES/huz_final.dat 6 > comp_REFERENCES.dat
	@ cd $(DIR_BENCH)/Dry_Dam_Break && ../../$(BIN)/$(DIFFCMPEXE) comp_REFERENCES.dat comp_STANDARD.dat > diff_REF_STANDARD.dat
	@ cd $(DIR_BENCH)/Dry_Dam_Break && echo -n "Dry dam break:                                     " && ../../$(BIN)/$(REPORTDIFFEXE) diff_REF_STANDARD.dat
	@ cd $(DIR_BENCH)/Thacker_planar && ../../$(BIN)/$(BENCHEXE) analytic.dat 22 Outputs_REFERENCES/huz_final.dat 6 > comp_REFERENCES.dat
	@ cd $(DIR_BENCH)/Thacker_planar && ../../$(BIN)/$(DIFFCMPEXE) comp_REFERENCES.dat comp_STANDARD.dat > diff_REF_STANDARD.dat
	@ cd $(DIR_BENCH)/Thacker_planar && echo -n "Thacker planar:                                    " && ../../$(BIN)/$(REPORTDIFFEXE) diff_REF_STANDARD.dat