Commit a03370ea authored by Kirill Terekhov's avatar Kirill Terekhov

remove Examples/TestSuite (moved to separate reposetory); fix some more...

remove Examples/TestSuite (moved to separate reposetory); fix some more warnings; processing of data for webgl in DrawGrid
parent 0d56213d
......@@ -225,7 +225,7 @@ int main(int argc,char ** argv)
for(Storage::integer iface = 0; iface < m->FaceLastLocalID(); ++iface ) if( m->isValidFace(iface) )
{
Face face = Face(m,ComposeFaceHandle(iface));
Element::Status s1,s2;
Element::Status s1 = Element::Any, s2 = Element::Any;
Cell r1 = face->BackCell();
Cell r2 = face->FrontCell();
if( ((!r1->isValid() || (s1 = r1->GetStatus()) == Element::Ghost)?0:1) +
......
......@@ -247,7 +247,11 @@ void KTensor(const real_array & Cv, rMatrix & K)
void GetBC(const real_array & bc, const rMatrix & n, rMatrix & Ra, rMatrix & Rb, rMatrix & r)
{
const rMatrix I = rMatrix::Unit(3);
Storage::real alpha_perp, alpha_parallel, beta_perp, beta_parallel;
Storage::real
alpha_perp = 0,
alpha_parallel = 0,
beta_perp = 1,
beta_parallel = 1;
if( bc.size() == 6 )
{
......
......@@ -117,18 +117,18 @@ ConvectionDiffusion::ConvectionDiffusion(Mesh * _m, Tag _tag_U, Tag _tag_K, Tag
real A, //area of the face
U, //normal component of the velocity
C, //coefficient for upstream cell
T, //two-point transmissibility
R, //right hand side
dK, //distance from center to interface at cell K
dL, //distance from center to interface at cell L
lambdaK, //projection of co-normal onto normal at cell K
lambdaL, //projection of co-normal onto normal at cell L
T = 0, //two-point transmissibility
R = 0, //right hand side
dK = 0, //distance from center to interface at cell K
dL = 0, //distance from center to interface at cell L
lambdaK = 0, //projection of co-normal onto normal at cell K
lambdaL = 0, //projection of co-normal onto normal at cell L
div //divider
;
const real eps = degenerate_diffusion_regularization;
Cell cK, cL, cU;
Face fKL;
bulk flag_DIFF, flag_CONV;
bulk flag_DIFF = 0, flag_CONV = 0;
KK.Zero();
KL.Zero();
KD.Zero();
......
......@@ -386,6 +386,7 @@ namespace INMOST
void AdaptiveMesh::CheckParentSet(std::string file, int line)//, TagInteger indicator)
{
(void)file,(void)line;
ENTER_FUNC();
#if !defined(NDEBUG)
Storage::integer err = 0;
......@@ -1665,6 +1666,7 @@ namespace INMOST
{
//one (or both) of the adjacent cells were coarsened and has lower level
bool visited = false;
(void)visited;
ElementArray<Cell> cells = f.getCells();
for(ElementArray<Cell>::size_type kt = 0; kt < cells.size(); ++kt)
{
......@@ -1737,6 +1739,7 @@ namespace INMOST
{
//at least one face must have lower level
bool visited = false;
(void)visited;
ElementArray<Face> faces = e.getFaces();
for(ElementArray<Face>::size_type kt = 0; kt < faces.size(); ++kt)
{
......
......@@ -123,7 +123,7 @@ int main(int argc, char ** argv)
cnt[0] = cnt0[0] + 0.25*r0*sin(k/20.0*M_PI);
cnt[1] = cnt0[1] + 0.25*r0*cos(k/20.0*M_PI);
m.ClearFile();
//m.ClearFile();
std::fill(nc.begin(),nc.end(),0); nc[m.GetProcessorRank()] = m.NumberOfCells(); m.Integrate(&nc[0],nc.size()); if( !m.GetProcessorRank() ) {std::cout << "start "; for(unsigned q = 0; q < nc.size(); ++q) std::cout << nc[q] << " "; std::cout << std::endl;}
......
......@@ -23,7 +23,6 @@ if (USE_AUTODIFF AND USE_SOLVER AND USE_MESH)
add_subdirectory(ADFVDiscr)
add_subdirectory(ADMFD)
add_subdirectory(ADVDIFF)
add_subdirectory(TestSuite)
add_subdirectory(MFD-ES)
endif (USE_AUTODIFF AND USE_SOLVER AND USE_MESH)
#add_subdirectory(OctreeCutcell)
......
......@@ -371,6 +371,89 @@ namespace INMOST
glVertex3dv(&verts[(k + 3) % verts.size()]);
}
}
__INLINE void vfill4(const double vi[3], double tc, float v[4])
{
v[0] = vi[0], v[1] = vi[1], v[2] = vi[2], v[3] = tc;
}
__INLINE void vfill3(const double vi[3], float v[3])
{
v[0] = vi[0], v[1] = vi[1], v[2] = vi[2];
}
void face2gl::wgl_draw(std::ostream & file) const
{
size_t k;
for (k = 0; k < verts.size()-3; k += 3)
{
file << cnt[0] << " " << cnt[1] << " " << cnt[2] << " " << (texcoords.empty() ? 1.0 : cnttexcoord) << std::endl;
file << verts[k+0] << " " << verts[k+1] << " " << verts[k+2] << " " << (texcoords.empty() ? 1.0 : texcoords[k/3+0]) << std::endl;
file << verts[k+3] << " " << verts[k+4] << " " << verts[k+5] << " " << (texcoords.empty() ? 1.0 : texcoords[k/3+1]) << std::endl;
}
file << cnt[0] << " " << cnt[1] << " " << cnt[2] << " " << (texcoords.empty() ? 1.0 : cnttexcoord) << std::endl;
k = verts.size()-3;
file << verts[k+0] << " " << verts[k+1] << " " << verts[k+2] << " " << (texcoords.empty() ? 1.0 : texcoords[k/3+0]) << std::endl;
k = 0;
file << verts[k+0] << " " << verts[k+1] << " " << verts[k+2] << " " << (texcoords.empty() ? 1.0 : texcoords[k/3+0]) << std::endl;
}
void face2gl::wgl_draw_bin(std::ostream & file) const
{
size_t k;
float v[4];
for (k = 0; k < verts.size()-3; k += 3)
{
vfill4(cnt ,texcoords.empty() ? 1.0 : cnttexcoord,v);
file.write(reinterpret_cast<char *>(v),sizeof(float)*4);
vfill4(&verts[k+0],texcoords.empty() ? 1.0 : texcoords[k/3+0],v);
file.write(reinterpret_cast<char *>(v),sizeof(float)*4);
vfill4(&verts[k+3],texcoords.empty() ? 1.0 : texcoords[k/3+1],v);
file.write(reinterpret_cast<char *>(v),sizeof(float)*4);
}
vfill4(cnt ,texcoords.empty() ? 1.0 : cnttexcoord,v);
file.write(reinterpret_cast<char *>(v),sizeof(float)*4);
k = verts.size()-3;
vfill4(&verts[k+0],texcoords.empty() ? 1.0 : texcoords[k/3+0],v);
file.write(reinterpret_cast<char *>(v),sizeof(float)*4);
k = 0;
vfill4(&verts[k+0],texcoords.empty() ? 1.0 : texcoords[k/3+0],v);
file.write(reinterpret_cast<char *>(v),sizeof(float)*4);
}
void face2gl::wgl_draw_edges(std::ostream & file) const
{
size_t k;
for (k = 0; k < verts.size()-3; k += 3)
{
file << verts[k+0] << " " << verts[k+1] << " " << verts[k+2] << std::endl;
file << verts[k+3] << " " << verts[k+4] << " " << verts[k+5] << std::endl;
}
k = verts.size()-3;
file << verts[k+0] << " " << verts[k+1] << " " << verts[k+2] << std::endl;
k = 0;
file << verts[k+0] << " " << verts[k+1] << " " << verts[k+2] << std::endl;
}
void face2gl::wgl_draw_edges_bin(std::ostream & file) const
{
size_t k;
float v[3];
for (k = 0; k < verts.size()-3; k += 3)
{
vfill3(&verts[k+0],v);
file.write(reinterpret_cast<char *>(v),sizeof(float)*3);
vfill3(&verts[k+3],v);
file.write(reinterpret_cast<char *>(v),sizeof(float)*3);
}
k = verts.size()-3;
vfill3(&verts[k+0],v);
file.write(reinterpret_cast<char *>(v),sizeof(float)*3);
k = 0;
vfill3(&verts[k+0],v);
file.write(reinterpret_cast<char *>(v),sizeof(float)*3);
}
void face2gl::svg_draw(std::ostream & file, bool drawedges, double modelview[16], double projection[16], int viewport[4]) const
{
......@@ -528,6 +611,31 @@ namespace INMOST
glPrintError();
}
void wgl_draw_faces(std::ostream & file, const std::vector<face2gl> & set)
{
for (size_t q = 0; q < set.size(); q++)
set[q].wgl_draw(file);
}
void wgl_draw_edges(std::ostream & file, const std::vector<face2gl> & set)
{
for (size_t q = 0; q < set.size(); q++)
set[q].wgl_draw_edges(file);
}
void wgl_draw_faces_bin(std::ostream & file, const std::vector<face2gl> & set)
{
for (size_t q = 0; q < set.size(); q++)
set[q].wgl_draw_bin(file);
}
void wgl_draw_edges_bin(std::ostream & file, const std::vector<face2gl> & set)
{
for (size_t q = 0; q < set.size(); q++)
set[q].wgl_draw_edges_bin(file);
}
void svg_draw_faces(std::ostream & file, std::vector<face2gl> & set, bool drawedges, double modelview[16], double projection[16], int viewport[4], int highlight)
{
......
......@@ -33,6 +33,10 @@ namespace INMOST
void draw_colour_alpha(double alpha) const;
void draw() const;
void svg_draw(std::ostream & file, bool drawedges, double modelview[16], double projection[16], int viewport[4]) const;
void wgl_draw_bin(std::ostream & file) const;
void wgl_draw_edges_bin(std::ostream & file) const;
void wgl_draw(std::ostream & file) const;
void wgl_draw_edges(std::ostream & file) const;
void drawedges() const;
void svg_drawedges(std::ostream & file, double modelview[16], double projection[16], int viewport[4]) const;
bool operator <(const face2gl & other) const { return dist < other.dist; }
......@@ -65,6 +69,10 @@ namespace INMOST
void svg_draw_faces_nc(std::ostream & file, std::vector<face2gl> & set, bool drawedges, double modelview[16], double projection[16], int viewport[4], int highlight = -1);
void svg_draw_faces(std::ostream & file, std::vector<face2gl> & set, bool drawedges, double modelview[16], double projection[16], int viewport[4], int highlight = -1);
void svg_draw_edges(std::ostream & file, std::vector<face2gl> & set, double modelview[16], double projection[16], int viewport[4], int highlight = -1);
void wgl_draw_faces_bin(std::ostream & file, const std::vector<face2gl> & set);
void wgl_draw_edges_bin(std::ostream & file, const std::vector<face2gl> & set);
void wgl_draw_faces(std::ostream & file, const std::vector<face2gl> & set);
void wgl_draw_edges(std::ostream & file, const std::vector<face2gl> & set);
void draw_faces_nc(std::vector<face2gl> & set, int highlight = -1);
void draw_faces(std::vector<face2gl> & set, int highlight = -1);
......
......@@ -852,6 +852,25 @@ void keyboard(unsigned char key, int x, int y)
{
write_state("state.txt");
}
else if( key == 'g' )
{
{
std::ofstream file("wgl.bin",std::ios::binary);
wgl_draw_faces_bin(file,clip_boundary);
}
{
std::ofstream file("wgle.bin",std::ios::binary);
wgl_draw_edges_bin(file,clip_boundary);
}
{
std::ofstream file("wgl.txt",std::ios::binary);
wgl_draw_faces(file,clip_boundary);
}
{
std::ofstream file("wgle.txt",std::ios::binary);
wgl_draw_edges(file,clip_boundary);
}
}
}
void keyboard2(unsigned char key, int x, int y)
......@@ -1126,7 +1145,7 @@ double display_elem_info(Element e, double top, double left, double interval)
if( e->HaveData(*t) )
{
std::stringstream sstr;
int dsize;
int dsize = 0;
switch(t->GetDataType())
{
case DATA_INTEGER:
......@@ -1217,7 +1236,7 @@ double display_elem_info_cout(Element e)
if( e->HaveData(*t) )
{
std::stringstream sstr;
int dsize;
int dsize = 0;
switch(t->GetDataType())
{
case DATA_INTEGER:
......@@ -1322,7 +1341,7 @@ void ProcessCommonInput(char inpstr[8192], int inptype)
}
else if( inptype == 3 )
{
int k1 = 0, k2, slen = (int)strlen(inpstr);
int k1 = 0, slen = (int)strlen(inpstr), k2 = slen;
for(int k = 0; k < slen; ++k)
{
if( inpstr[k] == ',' )
......
......@@ -211,7 +211,7 @@ int main(int argc,char ** argv)
{
Face face(m,ComposeHandle(FACE,fi));
//~ std::cout << face->LocalID() << " / " << m->NumberOfFaces() << std::endl;
Element::Status s1,s2;
Element::Status s1 = Element::Any,s2 = Element::Any;
Cell r1 = face->BackCell();
Cell r2 = face->FrontCell();
if( ((!r1->isValid() || (s1 = r1->GetStatus()) == Element::Ghost)?0:1) +
......
......@@ -66,7 +66,7 @@ int main(int argc, char *argv[])
for(int i = 0; i < n; ++i)
{
double x = i * 1.0 / (n - 1);
double ymid;
double ymid = 0;
if( i <= nsub[0] )
ymid = alpha;
else if( i <= nsub[1] )
......
......@@ -6,7 +6,7 @@ using namespace INMOST;
Storage::real Slice::Search(Storage::real r0, Storage::real r1, Storage::real c0[3], Storage::real c1[3], Storage::real p[3], bool binary) const
{
Storage::real rp = 1.0e20, rp_min = 1.0e20, p_min[3];
Storage::real rp = 1.0e20, rp_min = 1.0e20, p_min[3] = {0,0,0};
int iters = 0;
do
{
......
......@@ -276,7 +276,7 @@ int main(int argc, char ** argv)
Tag proj_coords = A.CreateTag("PROJECTED_COORDS",DATA_REAL,NODE,NONE,2);
MarkerType myedges = A.CreateMarker();
real nrm[3], cnt[3], ncnt[3], scnt[3], pcnt[3], orthx[3], orthy[3], d, nd;
real nrm[3], cnt[3], ncnt[3], scnt[3], pcnt[3], orthx[3] = {0,0,0}, orthy[3] = {0,0,0}, d, nd;
(void)nd;
std::cout << "Start splitting faces" << std::endl;
int nsplit = 0, had_faces = A.NumberOfFaces();
......
......@@ -345,7 +345,7 @@ int main(int argc, char ** argv)
std::vector<segment> segments, joints;
std::vector<node> loop;
std::map<HandleType,real> hits;
real nrm[3], cnt[3], ncnt[3], scnt[3], pcnt[3], fcnt[3], ray[3], orthx[3], orthy[3], d, nd;
real nrm[3], cnt[3], ncnt[3], scnt[3], pcnt[3], fcnt[3], ray[3], orthx[3] = {0,0,0}, orthy[3] = {0,0,0}, d, nd;
//for(Mesh::iteratorNode it = m.BeginNode(); it != m.EndNode(); ++it)
for(ElementArray<Node>::iterator it = nodes_rcm.begin(); it != nodes_rcm.end(); ++it)
{
......
project(TestSuite)
add_executable(test_single_well single_well.cpp)
add_executable(test_circular_perm circular_perm.cpp)
add_executable(test_channels_perm channels_perm.cpp)
add_executable(test_locking_perm locking_perm.cpp)
add_executable(test_fvca5_test1_1 fvca5_test1_1.cpp)
add_executable(test_fvca5_test1_2 fvca5_test1_2.cpp)
add_executable(test_fvca5_test3 fvca5_test3.cpp)
add_executable(test_fvca5_test4 fvca5_test4.cpp)
add_executable(test_fvca5_test5 fvca5_test5.cpp)
add_executable(test_fvca5_test6 fvca5_test6.cpp)
add_executable(test_fvca5_test7 fvca5_test7.cpp)
add_executable(test_fvca5_test8 fvca5_test8.cpp)
add_executable(test_fvca5_test9 fvca5_test9.cpp)
add_executable(test_wugao_test2 wugao_test2.cpp)
add_executable(test_wugao_test3 wugao_test3_unsymmetric.cpp)
add_executable(test_wugao_test4 wugao_test4.cpp)
add_executable(test_adv_test00 adv00.cpp)
add_executable(test_adv_test01 adv01.cpp)
add_executable(test_adv_test02 adv02.cpp)
add_executable(test_adv_test03 adv03.cpp)
add_executable(test_fvca5_test7_adv fvca5_test7_with_advection.cpp)
add_executable(test_wugao_test3_adv wugao_test3_unsymmetric_with_advection.cpp)
add_executable(test_transform_grid transform_grid.cpp)
add_executable(test_two_wells_3d two_wells_3d.cpp)
add_executable(test_edwards_3dtest4 edwards_3dtest4.cpp)
add_executable(test_discontinuous_4zones discontinuous_4zones.cpp)
add_executable(test_linear_sol linear_sol.cpp)
add_executable(test_ns_linear ns_linear.cpp)
add_executable(test_ns_cavity ns_cavity.cpp)
add_executable(test_ns_pousielle ns_pousielle.cpp)
add_executable(test_ns_backward_step ns_backward_step.cpp)
add_executable(test_ns_turek ns_turek.cpp)
add_executable(test_ns_crevice ns_crevice.cpp)
target_link_libraries(test_ns_linear inmost)
if(USE_MPI)
message("linking test_ns_linear with MPI")
target_link_libraries(test_ns_linear ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_ns_linear PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_ns_linear EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_ns_cavity inmost)
if(USE_MPI)
message("linking test_ns_cavity with MPI")
target_link_libraries(test_ns_cavity ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_ns_cavity PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_ns_cavity EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_ns_pousielle inmost)
if(USE_MPI)
message("linking test_ns_cavity with MPI")
target_link_libraries(test_ns_pousielle ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_ns_pousielle PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_ns_pousielle EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_ns_turek inmost)
if(USE_MPI)
message("linking test_ns_cavity with MPI")
target_link_libraries(test_ns_turek ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_ns_turek PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_ns_turek EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_ns_crevice inmost)
if(USE_MPI)
message("linking test_ns_cavity with MPI")
target_link_libraries(test_ns_crevice ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_ns_crevice PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_ns_crevice EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_ns_backward_step inmost)
if(USE_MPI)
message("linking test_ns_backward_step with MPI")
target_link_libraries(test_ns_backward_step ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_ns_backward_step PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_ns_backward_step EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_single_well inmost)
if(USE_MPI)
message("linking test_single_well with MPI")
target_link_libraries(test_single_well ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_single_well PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_single_well EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_circular_perm inmost)
if(USE_MPI)
message("linking test_circular_perm with MPI")
target_link_libraries(test_circular_perm ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_circular_perm PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_circular_perm EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_channels_perm inmost)
if(USE_MPI)
message("linking test_channels_perm with MPI")
target_link_libraries(test_channels_perm ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_channels_perm PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_channels_perm EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_locking_perm inmost)
if(USE_MPI)
message("linking test_locking_perm with MPI")
target_link_libraries(test_locking_perm ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_locking_perm PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_locking_perm EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_fvca5_test1_1 inmost)
if(USE_MPI)
message("linking test_fvca5_test1_1 with MPI")
target_link_libraries(test_fvca5_test1_1 ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_fvca5_test1_1 PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_fvca5_test1_1 EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_fvca5_test1_2 inmost)
if(USE_MPI)
message("linking test_fvca5_test1_2 with MPI")
target_link_libraries(test_fvca5_test1_2 ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_fvca5_test1_2 PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_fvca5_test1_2 EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_fvca5_test3 inmost)
if(USE_MPI)
message("linking test_fvca5_test3 with MPI")
target_link_libraries(test_fvca5_test3 ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_fvca5_test3 PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_fvca5_test3 EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_fvca5_test4 inmost)
if(USE_MPI)
message("linking test_fvca5_test4 with MPI")
target_link_libraries(test_fvca5_test4 ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_fvca5_test4 PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_fvca5_test4 EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_fvca5_test5 inmost)
if(USE_MPI)
message("linking test_fvca5_test5 with MPI")
target_link_libraries(test_fvca5_test5 ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_fvca5_test5 PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_fvca5_test5 EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_fvca5_test6 inmost)
if(USE_MPI)
message("linking test_fvca5_test6 with MPI")
target_link_libraries(test_fvca5_test6 ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_fvca5_test6 PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_fvca5_test6 EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_fvca5_test7 inmost)
if(USE_MPI)
message("linking test_fvca5_test7 with MPI")
target_link_libraries(test_fvca5_test7 ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_fvca5_test7 PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_fvca5_test7 EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_fvca5_test7_adv inmost)
if(USE_MPI)
message("linking test_fvca5_test7_adv with MPI")
target_link_libraries(test_fvca5_test7_adv ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_fvca5_test7_adv PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_fvca5_test7_adv EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_fvca5_test8 inmost)
if(USE_MPI)
message("linking test_fvca5_test8 with MPI")
target_link_libraries(test_fvca5_test8 ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_fvca5_test8 PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_fvca5_test8 EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_fvca5_test9 inmost)
if(USE_MPI)
message("linking test_fvca5_test9 with MPI")
target_link_libraries(test_fvca5_test9 ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_fvca5_test9 PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_fvca5_test9 EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_wugao_test2 inmost)
if(USE_MPI)
message("linking test_wugao_test2 with MPI")
target_link_libraries(test_wugao_test2 ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_wugao_test2 PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_wugao_test2 EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_wugao_test3 inmost)
if(USE_MPI)
message("linking test_wugao_test3 with MPI")
target_link_libraries(test_wugao_test3 ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_wugao_test3 PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_wugao_test3 EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_wugao_test3_adv inmost)
if(USE_MPI)
message("linking test_wugao_test3_adv with MPI")
target_link_libraries(test_wugao_test3_adv ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_wugao_test3_adv PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_wugao_test3_adv EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_wugao_test4 inmost)
if(USE_MPI)
message("linking test_wugao_test4 with MPI")
target_link_libraries(test_wugao_test4 ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_wugao_test4 PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_wugao_test4 EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_adv_test00 inmost)
if(USE_MPI)
message("linking test_adv_test00 with MPI")
target_link_libraries(test_adv_test00 ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_adv_test00 PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)
install(TARGETS test_adv_test00 EXPORT projects-targets RUNTIME DESTINATION bin/TestSuite)
target_link_libraries(test_adv_test01 inmost)
if(USE_MPI)
message("linking test_adv_test01 with MPI")
target_link_libraries(test_adv_test01 ${MPI_LIBRARIES})
if(MPI_LINK_FLAGS)
set_target_properties(test_adv_test01 PROPERTIES LINK_FLAGS "${MPI_LINK_FLAGS}")
endif()
endif(USE_MPI)