Commit bebfbbcd authored by incardon's avatar incardon

Fixing code style errors

parent 0351f518
......@@ -387,4 +387,4 @@ renderView1.CameraParallelScale = 0.5329984807902486
#### uncomment the following to render all views
# RenderAllViews()
# alternatively, if you want to write images, you can use SaveScreenshot(...).
# alternatively, if you want to write images, you can use SaveScreenshot(...).
......@@ -84,7 +84,7 @@ renderView1.CameraParallelScale = 0.7067808453124975
#### uncomment the following to render all views
# RenderAllViews()
# alternatively, if you want to write images, you can use SaveScreenshot(...).
# alternatively, if you want to write images, you can use SaveScreenshot(...).
WriteImage("generated/non_geometrical_decomposition.jpg")
......
......@@ -213,4 +213,4 @@ WriteImage('generated/vector_one_p_zoom_ghost_part.jpg')
#### uncomment the following to render all views
# RenderAllViews()
# alternatively, if you want to write images, you can use SaveScreenshot(...).
# alternatively, if you want to write images, you can use SaveScreenshot(...).
......@@ -84,7 +84,7 @@ renderView1.CameraParallelScale = 0.7067808453124975
#### uncomment the following to render all views
# RenderAllViews()
# alternatively, if you want to write images, you can use SaveScreenshot(...).
# alternatively, if you want to write images, you can use SaveScreenshot(...).
# destroy tableToPoints1
Delete(tableToPoints1)
......
......@@ -477,10 +477,12 @@ echo -e "\033[1;34;5m ---------- Optional packages ----------- \033[0m"
echo ""
installation_report=""
lin_alg_installed=""
if [ -d "$i_dir/PETSC" ]; then
installation_report="$installation_report \033[92;1mPETSC\033[0m Installed: \033[1m $i_dir/PETSC \033[0m\n"
bash_library="$bash_library:$i_dir/PETSC/lib"
lin_alg_installed="y"
else
installation_report="$installation_report \033[91;1mPETSC\033[0m Installed: \033[1m NO \033[0m\n"
fi
......@@ -582,6 +584,9 @@ echo ""
echo -e "\033[91;1m if you have in your .bashrc or .bash_profile old openfpm setting, please remove it\033[0m"
echo ""
echo ""
if [ x"$inst_lin_alg" == "y" -a x"$lin_alg_installed" == ""]
conf_err=1
fi
if [ $conf_err -ne 0 ]; then
exit 1
fi
......@@ -525,7 +525,7 @@ table.memberdecls {
-ms-transition: box-shadow 0.5s linear;
-o-transition: box-shadow 0.5s linear;
transition: box-shadow 0.5s linear;
display: table !important;
display: table;
width: 100%;
}
......@@ -1444,9 +1444,9 @@ tr.heading h2 {
.memitem { page-break-inside: avoid; }
#doc-content
{
margin-left:0 !important;
height:auto !important;
width:auto !important;
margin-left:0;
height:auto;
width:auto;
overflow:inherit;
display:inline;
}
......
__author__ = 'i-bird'
import os
import shutil, errno
import shutil
import configparser
from os import listdir
from os.path import isdir, join
......
......@@ -46,8 +46,7 @@ BOOST_AUTO_TEST_CASE( DLB_test_use)
bool rebalance = dlb.rebalanceNeeded();
if(rebalance)
t_high = 1;
if(rebalance) {t_high = 1;}
if(t == 6)
BOOST_REQUIRE_EQUAL(rebalance,true);
......
......@@ -216,10 +216,10 @@ protected:
for (size_t i = 0; i < dim; i++)
{
if (sub_dc.getHigh(i) == gr.size(i) - 1)
sub_d.setHigh(i, domain.getHigh(i));
{sub_d.setHigh(i, domain.getHigh(i));}
if (sub_dc.getLow(i) == 0)
sub_d.setLow(i,domain.getLow(i));
{sub_d.setLow(i,domain.getLow(i));}
}
return sub_d;
......
......@@ -168,7 +168,7 @@ class grid_dist_id_iterator_dec
// check if a_it is at the end
if (a_it.isNext() == true)
return *this;
{return *this;}
else
{
// switch to the new grid
......
......@@ -933,7 +933,7 @@ public:
for (size_t i = 0 ; i < dim ; i++)
{
if (gk.get(i) < 0 || gk.get(i) >= (long int)g_sz[i])
return false;
{return false;}
}
return true;
......
......@@ -41,7 +41,7 @@ BOOST_AUTO_TEST_CASE( vector_dist_hdf5_save_test )
size_t sz[dim] = {Ng,Ng,Ng};
for (size_t i = 0; i < dim; i++)
bc[i] = NON_PERIODIC;
{bc[i] = NON_PERIODIC;}
// ghost
Ghost<dim,float> ghost(1.0/(Ng-2));
......
......@@ -482,7 +482,7 @@ BOOST_AUTO_TEST_CASE( dist_map_graph_use_cartesian)
size_t v = d(rg);*/
if (vcl.getProcessUnitID() == 0)
dg.reqVertex(450);
{dg.reqVertex(450);}
/* dg.reqVertex(v);
}*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment