complete cylindrical multigrid support for conducting sheet model
parent
f3dc73873d
commit
640419ab7a
|
@ -25,6 +25,18 @@ Operator_Ext_ConductingSheet::Operator_Ext_ConductingSheet(Operator* op, double
|
|||
m_f_max = f_max;
|
||||
}
|
||||
|
||||
Operator_Ext_ConductingSheet::Operator_Ext_ConductingSheet(Operator* op, Operator_Ext_ConductingSheet* op_ext) : Operator_Ext_LorentzMaterial(op, op_ext)
|
||||
{
|
||||
m_f_max = op_ext->m_f_max;
|
||||
}
|
||||
|
||||
Operator_Extension* Operator_Ext_ConductingSheet::Clone(Operator* op)
|
||||
{
|
||||
if (dynamic_cast<Operator_Ext_ConductingSheet*>(this)==NULL)
|
||||
return NULL;
|
||||
return new Operator_Ext_ConductingSheet(op, this);
|
||||
}
|
||||
|
||||
bool Operator_Ext_ConductingSheet::BuildExtension()
|
||||
{
|
||||
double dT = m_Op->GetTimestep();
|
||||
|
|
|
@ -32,6 +32,8 @@ class Operator_Ext_ConductingSheet : public Operator_Ext_LorentzMaterial
|
|||
public:
|
||||
Operator_Ext_ConductingSheet(Operator* op, double f_max);
|
||||
|
||||
virtual Operator_Extension* Clone(Operator* op);
|
||||
|
||||
virtual bool BuildExtension();
|
||||
|
||||
virtual bool IsCylinderCoordsSave(bool closedAlpha, bool R0_included) const {return true;}
|
||||
|
@ -40,6 +42,8 @@ public:
|
|||
virtual string GetExtensionName() const {return string("Conducting Sheet Extension");}
|
||||
|
||||
protected:
|
||||
//! Copy constructor
|
||||
Operator_Ext_ConductingSheet(Operator* op, Operator_Ext_ConductingSheet* op_ext);
|
||||
double m_f_max;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue