User-defined Plugin: Spinodal Decomposition
pfm_spinodal_config.h
Go to the documentation of this file.
1
10
// //
11
// P A N P H A S E F I E L D //
12
// //
13
// Version 2022 //
14
// CompuTherm, LLC //
15
// Copyright, 2000-2022 //
16
// //
17
// www.computherm.com //
18
// //
20
21
#pragma once
22
23
// C++ libraries
24
#include <iostream>
25
#include <iomanip>
// In order to format the output
26
#include <stdio.h>
27
#include <stdlib.h>
28
#include <math.h>
29
#ifdef WIN32
30
#include <direct.h>
31
#endif
// WIN32
32
#include <sys/stat.h>
// for mkdir function
33
#include <time.h>
34
#include <string.h>
35
#include <vector>
36
#include <ctime>
// timer for cpp routine
37
#include <map>
38
#include <set>
39
#include "omp.h"
40
41
// PFM Utility
42
#include "tensors.h"
43
#include "temperature.h"
44
#include "pfm_writers.h"
45
#include "atomic_weight.h"
46
47
// SDK API related
48
#include <pfm_sdk.h>
49
#include <PanPhaseFieldArguments.h>
50
51
55
#ifndef Sqr
// square of x
56
#define Sqr(x) (x*x)
57
#endif
58
62
#ifndef PDN_BSZ
// size of array used chemical mobility
63
#define PDN_BSZ 32
64
#endif
65
66
#ifndef DISABLE_OPTIMIZE_OMP_LOOP
// Disable optimizing omp loop by rearranging dimensions
67
//#define DISABLE_OPTIMIZE_OMP_LOOP true
68
#endif
69
70
// -------------------------------------------------- //
71
// Macros to optional features in console mode //
72
// -------------------------------------------------- //
73
77
#ifndef ENABLE_PANDAT_RESULT_TABLE
78
#define ENABLE_PANDAT_RESULT_TABLE true
79
#endif
80
84
#ifndef ENABLE_PANDAT_PROGRESS_MESSAGE
85
#define ENABLE_PANDAT_PROGRESS_MESSAGE true
86
#endif
87
91
#ifndef ENABLE_PERFORMANCE_LOG
92
#define ENABLE_PERFORMANCE_LOG true
93
#endif
PFM_Apps
USER_PFM_SPINODAL
pfm_spinodal_config.h
Generated by
1.9.2