-
Notifications
You must be signed in to change notification settings - Fork 0
/
FieldTraceData.cxx
38 lines (32 loc) · 981 Bytes
/
FieldTraceData.cxx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
____ _ __ ____ __ ____
/ __/___(_) / ___ ____/ __ \__ _____ ___ / /_ / _/__ ____
_\ \/ __/ / _ \/ -_) __/ /_/ / // / -_|_-</ __/ _/ // _ \/ __/
/___/\__/_/_.__/\__/_/ \___\_\_,_/\__/___/\__/ /___/_//_/\__(_)
Copyright 2012 SciberQuest Inc.
*/
#include "FieldTraceData.h"
#include "TerminationCondition.h"
#include "vtkDataSet.h"
#include "vtkCellData.h"
//-----------------------------------------------------------------------------
FieldTraceData::FieldTraceData()
{
this->Tcon=new TerminationCondition;
}
//-----------------------------------------------------------------------------
FieldTraceData::~FieldTraceData()
{
this->ClearFieldLines();
delete this->Tcon;
}
//-----------------------------------------------------------------------------
void FieldTraceData::ClearFieldLines()
{
size_t nLines=this->Lines.size();
for (size_t i=0; i<nLines; ++i)
{
delete this->Lines[i];
}
this->Lines.clear();
}