package CASTEP @ISA = qw() sub BEGIN sub SetSampleName my ($this, $name) = @_; return $this->{'SampleName'} = $name; sub SampleName my ($this) = @_; return $this->{'SampleName'}; sub new my ($module) = @_; return $this; sub DESTROY my $this = shift; sub CheckFileType my ($path) = @_; return undef unless($in); return "CASTEP Band Output file"; return undef; sub ReadCASTEPBandOutput my ($this, $path) = @_; return undef; return $path; sub Read my ($this, $filename) = @_; return undef unless($FileType); return $this->ReadCASTEPBandOutput($filename); return undef; sub SaveCARFile my ($this, $Crystal, $filename, $IsChooseRandomly) = @_; return;