openEMS: simple interface to create a Gaussian pulse excitation
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
This commit is contained in:
parent
8ff7ed4075
commit
ad02096df5
@ -752,6 +752,12 @@ bool openEMS::ParseFDTDSetup(std::string file)
|
||||
this->SetTimeStepFactor(dhelp);
|
||||
}
|
||||
|
||||
void openEMS::SetGaussExcite(double f0, double fc)
|
||||
{
|
||||
this->InitExcitation();
|
||||
m_Exc->SetupGaussianPulse(f0, fc);
|
||||
}
|
||||
|
||||
Excitation* openEMS::InitExcitation()
|
||||
{
|
||||
delete m_Exc;
|
||||
|
Loading…
Reference in New Issue
Block a user