Commit fe3e6399 authored by Phillip Lino Rall's avatar Phillip Lino Rall
Browse files

deleted some comments

parent 9fdda5e9
......@@ -101,7 +101,6 @@ Blockgrid::Blockgrid ( Unstructured_grid *ug_, int Nx, int Ny, int Nz ) {
Blockgrid::Blockgrid ( Unstructured_grid *ug_, int Nx, int Ny, int Nz, int Nr ) {
cout << "Nx " << Nx << "Ny " << Ny << "Nz " << Nz << "Nr " << Nr << endl;
id_of_grid = id_count_grid; ++id_count_grid;
phase_shift = NULL;
bg_coord = NULL;
......@@ -122,7 +121,6 @@ Blockgrid::Blockgrid ( Unstructured_grid *ug_, int Nx, int Ny, int Nz, int Nr )
}
Blockgrid::Blockgrid(Unstructured_grid *ug_, int Nx, int Ny, int Nz, int Nr, int Nr2){
cout << "Nx " << Nx << "Ny " << Ny << "Nz " << Nz << "Nr " << Nr << "Nr2 " << Nr2 << endl;
id_of_grid = id_count_grid; ++id_count_grid;
phase_shift = NULL;
bg_coord = NULL;
......
......@@ -1344,7 +1344,6 @@ PointInterpolator::~PointInterpolator() {
void Interpolate_direct::init()
{
CustomTime::printTime(std::string("A"));
arrayBoxWSDENT.resize(blockgrid->Give_unstructured_grid()->Give_number_hexahedra());
array_box_boundary.resize(blockgrid->Give_unstructured_grid()->Give_number_hexahedra());
......
......@@ -379,7 +379,7 @@ class Interpolate_direct {
int typCounter0{},typCounter1{},typCounter2{},typCounter3{},typCounter4{},typCounter5{};
bool debugTest;
D3vector lambda;
D3vector vNow, vPrev, vPrevPrev, vPrevPrevPrev;
D3vector vNow{9124,123,52143}, vPrev, vPrevPrev, vPrevPrevPrev;
bool vectorInBox(D3vector vWSD, D3vector vENT, D3vector v, double eps = 1e-10);
......
......@@ -62,6 +62,8 @@ class D3vector {
void operator/=(const double v) { x/=v; y/=v; z/=v; }
//bool operator==(const D3vector& v) {if(fabs(v.x - x) <1e-10 && fabs(v.y - y) <1e-10 && fabs(v.z - z) <1e-10 ){return true;} else {return false;} }
bool operator==(const D3vector& v) {if( (v.x == x) && (v.y == y) && (v.z == z) ){return true;} else {return false;} }
bool operator==(const double v) {if( (v == x) && (v == y) && (v == z) ){return true;} else {return false;} }
bool operator!=(const double v) {if( (v != x) && (v != y) && (v != z) ){return true;} else {return false;} }
bool operator<(const D3vector& v) {if(v.x > x && v.y > y && v.z > z){return true;} else {return false;} }
bool operator>(const D3vector& v) {if(v.x < x && v.y < y && v.z < z){return true;} else {return false;} }
// bool operator<=(const D3vector& v) {if(v.x >= x && v.y >= y && v.z >= z){return true;} else {return false;} }
......
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