Skip to content

Commit c9caded

Browse files
authored
delete all occurences of K (#79)
1 parent 0f63379 commit c9caded

File tree

4 files changed

+0
-14
lines changed

4 files changed

+0
-14
lines changed

Code/Source/cvOneDBFSolver.cxx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,6 @@ void cvOneDBFSolver::postprocess_Text(){
215215
fwrite(&val, sizeof(double),1,fp3);
216216
}
217217

218-
// write minor loss coefficient,radius, and Reynolds number
219-
val = (double) subdomainList[fileIter]->K[i];
220-
221218
if(ASCII){
222219
reynolds << Re << " ";
223220
}else{

Code/Source/cvOneDMthSegmentModel.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,6 @@ double cvOneDMthSegmentModel::N_MinorLoss(long ith){
315315

316316
N = func * Q[1] / (2 * L);
317317

318-
sub->SaveK(N,(int)(cvOneDBFSolver::currentTime / cvOneDBFSolver::deltaTime) );
319-
320318
// don't want to have less than the default Puoseille
321319
strcpy(propName,"N");
322320
double std= sub->GetMaterial()->GetProperty(propName);

Code/Source/cvOneDSubdomain.cxx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ cvOneDSubdomain::cvOneDSubdomain(){
5555
PressLVWave=NULL;
5656
PressLVTime=NULL;
5757
numPressLVPts=0;
58-
K = new double[1000];
59-
for(int i=0;i<1000;i++){
60-
K[i]=0.0;
61-
}
6258
branchAngle = 90.0;
6359
}
6460

@@ -408,9 +404,6 @@ double cvOneDSubdomain::GetBoundAreabyPresWave(double currentTime){
408404
}
409405

410406

411-
void cvOneDSubdomain::SaveK(double k, int i){
412-
K[i]=k;
413-
}
414407

415408

416409

Code/Source/cvOneDSubdomain.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,6 @@ class cvOneDSubdomain{
200200
void SetBranchSeg(int seg){branch = seg;}
201201
int GetBranchSeg(void){return branch;}
202202

203-
void SaveK(double K, int i);
204-
double* K;
205203
double* impedancePressure;
206204
double lastImpedancePressure;
207205

0 commit comments

Comments
 (0)