2016-02-24 03:30:41 +05:30
|
|
|
# group sources for base modules
|
|
|
|
set (SRC "CPFEM"
|
|
|
|
"CPFEM2"
|
|
|
|
"core_quit"
|
|
|
|
"commercialFEM_fileList"
|
|
|
|
"compilation_info"
|
|
|
|
"constitutive"
|
|
|
|
"crystallite"
|
|
|
|
"damask_hdf5.f90"
|
|
|
|
"debug"
|
|
|
|
"FEsolving"
|
|
|
|
"IO"
|
|
|
|
"lattice"
|
|
|
|
"libs"
|
|
|
|
"material"
|
|
|
|
"math"
|
|
|
|
"mesh"
|
|
|
|
"numerics"
|
|
|
|
"prec"
|
|
|
|
"quit__genmod"
|
|
|
|
)
|
|
|
|
|
|
|
|
# compiler base modules
|
|
|
|
foreach (p ${SRC})
|
|
|
|
add_library (${p} MODULE "${p}.f90")
|
|
|
|
endforeach (p)
|
|
|
|
|
2016-02-25 02:55:57 +05:30
|
|
|
# set libraries/modules for linking
|
|
|
|
foreach (p ${SRC})
|
|
|
|
set (AUX_LIB ${AUX_LIB} ${p})
|
|
|
|
endforeach (p)
|
|
|
|
|
2016-02-24 03:30:41 +05:30
|
|
|
# compile each sub moudel
|
|
|
|
add_subdirectory(damage)
|
|
|
|
add_subdirectory(homogenization)
|
|
|
|
add_subdirectory(hydrogenflux)
|
|
|
|
add_subdirectory(kinematics)
|
|
|
|
add_subdirectory(plastic)
|
|
|
|
add_subdirectory(porosity)
|
|
|
|
add_subdirectory(sources)
|
|
|
|
add_subdirectory(spectral)
|
|
|
|
add_subdirectory(thermal)
|
|
|
|
add_subdirectory(vacancyflux)
|
|
|
|
|
2016-02-25 02:55:57 +05:30
|
|
|
# compile spectral solver
|
2016-02-24 03:30:41 +05:30
|
|
|
add_executable(DAMASKSpectral.exe DAMASK_spectral.f90)
|
2016-02-25 02:55:57 +05:30
|
|
|
target_link_libraries (DAMASKSpectral.exe ${AUX_LIB})
|