Added the bubble test
This commit is contained in:
parent
7b9361648e
commit
106e2dd110
@ -366,7 +366,7 @@ int main(int argc, char **argv)
|
||||
id[n] = 2;
|
||||
sum++;
|
||||
}
|
||||
else if (k<BubbleTop && rank == 0){
|
||||
else if (k<BubbleTop && rank == 0 && pBC == 0){
|
||||
id[n] = 1;
|
||||
sum++;
|
||||
}
|
||||
@ -1153,7 +1153,7 @@ int main(int argc, char **argv)
|
||||
//......................................................................
|
||||
// Once phase has been initialized, map solid to account for 'smeared' interface
|
||||
//......................................................................
|
||||
for (i=0; i<N; i++) SignDist.data[i] -= (1.0); // Add half the interface width
|
||||
for (i=0; i<N; i++) SignDist.data[i] -= (1.0); //
|
||||
//......................................................................
|
||||
//.......................................................................
|
||||
sprintf(LocalRankString,"%05d",rank);
|
||||
|
@ -4,6 +4,7 @@ CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/cylindertest ${CMAKE_CURRENT_BINARY_
|
||||
|
||||
# Add the tests
|
||||
ADD_LBPM_TEST( pmmc_cylinder )
|
||||
ADD_LBPM_TEST( TestBubble )
|
||||
ADD_LBPM_TEST( TestCylinderAreas )
|
||||
ADD_LBPM_TEST( TestSphereCurvature )
|
||||
ADD_LBPM_TEST_1_2_4( testCommunication )
|
||||
|
2388
tests/TestBubble.cpp
Normal file
2388
tests/TestBubble.cpp
Normal file
File diff suppressed because it is too large
Load Diff
@ -366,7 +366,7 @@ int main(int argc, char **argv)
|
||||
id[n] = 2;
|
||||
sum++;
|
||||
}
|
||||
else if (k<BubbleTop && rank == 0){
|
||||
else if (k<BubbleTop && rank == 0 && pBC == 0){
|
||||
id[n] = 1;
|
||||
sum++;
|
||||
}
|
||||
@ -1153,7 +1153,7 @@ int main(int argc, char **argv)
|
||||
//......................................................................
|
||||
// Once phase has been initialized, map solid to account for 'smeared' interface
|
||||
//......................................................................
|
||||
for (i=0; i<N; i++) SignDist.data[i] -= (1.0); // Add half the interface width
|
||||
for (i=0; i<N; i++) SignDist.data[i] -= (1.0); //
|
||||
//......................................................................
|
||||
//.......................................................................
|
||||
sprintf(LocalRankString,"%05d",rank);
|
||||
|
Loading…
Reference in New Issue
Block a user