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);
|
this->SetTimeStepFactor(dhelp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void openEMS::SetGaussExcite(double f0, double fc)
|
||||||
|
{
|
||||||
|
this->InitExcitation();
|
||||||
|
m_Exc->SetupGaussianPulse(f0, fc);
|
||||||
|
}
|
||||||
|
|
||||||
Excitation* openEMS::InitExcitation()
|
Excitation* openEMS::InitExcitation()
|
||||||
{
|
{
|
||||||
delete m_Exc;
|
delete m_Exc;
|
||||||
|
@ -84,6 +84,7 @@ public:
|
|||||||
//! Check for abort conditions
|
//! Check for abort conditions
|
||||||
bool CheckAbortCond();
|
bool CheckAbortCond();
|
||||||
|
|
||||||
|
void SetGaussExcite(double f0, double fc);
|
||||||
Excitation* InitExcitation();
|
Excitation* InitExcitation();
|
||||||
|
|
||||||
void SetCSX(ContinuousStructure* csx);
|
void SetCSX(ContinuousStructure* csx);
|
||||||
|
Loading…
Reference in New Issue
Block a user