|
[Sponsors] |
[waves2Foam] Compiling Waves2Foam r2137 error: no matching function for call to ‘exp(Foam::complex |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 5, 2020, 11:54 |
Compiling Waves2Foam r2137 error: no matching function for call to ‘exp(Foam::complex
|
#1 |
New Member
Marc
Join Date: Mar 2020
Posts: 2
Rep Power: 0 |
Hallo All,
I have trouble with compiling waves2Foam r2137. I think the problem is in the updated version for 1912 + waveFoam solver. Because the function ‘exp(Foam::complex' has no match. Does anyone has a clue on what is going on? cheers, Marc Code:
===================================== ENVIRONMENTAL VARIABLES ===================================== EXTBRANCH=1 FOAMEXTENDPROJECT=1 OFPLUSBRANCH=0 WAVES_APPBIN=/home/marc/foam/marc-3.1/applications/bin/linux64GccDPOpt WAVES_DIR=/home/marc/foam/marc-3.1/applications/utilities/waves2Foam WAVES_GSL_INCLUDE=/usr/include WAVES_GSL_LIB=/usr/lib64 WAVES_LIBBIN=/home/marc/foam/marc-3.1/lib/linux64GccDPOpt WAVES_POST=/home/marc/foam/marc-3.1/applications/utilities/waves2Foam/applications/utilities/postProcessing WAVES_PRE=/home/marc/foam/marc-3.1/applications/utilities/waves2Foam/applications/utilities/preProcessing WAVES_SOL=/home/marc/foam/marc-3.1/applications/utilities/waves2Foam/applications/solvers/solvers310_EXT WAVES_SRC=/home/marc/foam/marc-3.1/applications/utilities/waves2Foam/src WAVES_TUT=/home/marc/foam/marc-3.1/applications/utilities/waves2Foam/tutorials WAVES_UTIL=/home/marc/foam/marc-3.1/applications/utilities/waves2Foam/applications/utilities WAVES_XVERSION=0 WM_PROJECT_VERSION_NUMBER=310 ===================================== COMPILE LAPACK-3.3.1 ===================================== lapack-3.3.1 has already been compiled ===================================== COMPILE SPARSKIT2 ===================================== SPARSKIT2 has already been compiled ===================================== COMPILE OCEANWAVE3D ===================================== OceanWave3D has already been compiled /home/marc/foam/marc-3.1/applications/utilities/waves2Foam/ThirdParty ===================================== COMPILE FENTON4FOAM ===================================== fenton4Foam has already been compiled ===================================== COMPILE LIBRARY ===================================== '/home/marc/foam/marc-3.1/lib/linux64GccDPOpt/libwaves2Foam.so' is up to date. SOURCE=postProcessing/postProcessingWaves/spectralAnalysis/fftBasedMethods/reflectionAnalysis2DFFT/reflectionAnalysis2DFFT.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -DOFVERSION=310 -DEXTBRANCH=1 -DXVERSION=0 -DOFPLUSBRANCH=0 -I/home/marc/foam/foam-extend-3.1/src/finiteVolume/lnInclude -I/home/marc/foam/foam-extend-3.1/src/meshTools/lnInclude -I/home/marc/foam/foam-extend-3.1/src/sampling/lnInclude -I/home/marc/foam/foam-extend-3.1/src/lagrangian/basic/lnInclude -I/home/marc/foam/marc-3.1/applications/utilities/waves2Foam/src/waves2Foam/lnInclude -I/usr/include -IlnInclude -I. -I/home/marc/foam/foam-extend-3.1/src/foam/lnInclude -I/home/marc/foam/foam-extend-3.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/reflectionAnalysis2DFFT.o postProcessing/postProcessingWaves/spectralAnalysis/fftBasedMethods/reflectionAnalysis2DFFT/reflectionAnalysis2DFFT.C: In member function ‘void Foam::reflectionAnalysis2DFFT::decomposeAmplitudes(const scalarField&, const Foam::List<Foam::Field<Foam::complex> >&, Foam::Field<Foam::complex>&, Foam::Field<Foam::complex>&, Foam::scalarField&)’: postProcessing/postProcessingWaves/spectralAnalysis/fftBasedMethods/reflectionAnalysis2DFFT/reflectionAnalysis2DFFT.C:242:52: error: no matching function for call to ‘exp(Foam::complex)’ *exp( ii*kj*(X_[q] - X_[0])) ^ |
|
Tags |
error, no matching function, waves2foam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[waves2Foam] stuck in compiling the waves2Foam library for OF-v1712 due to MA41 | Ya_Squall2010 | OpenFOAM Community Contributions | 3 | April 16, 2019 09:21 |
[mesh manipulation] RefineMesh Error and Foam warning | jiahui_93 | OpenFOAM Meshing & Mesh Conversion | 4 | March 3, 2018 12:32 |
[mesh manipulation] refineMesh Error | mohsen.boojari | OpenFOAM Meshing & Mesh Conversion | 3 | March 1, 2018 23:07 |
[snappyHexMesh] How to define to right point for locationInMesh | Mirage12 | OpenFOAM Meshing & Mesh Conversion | 7 | March 13, 2016 15:07 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |