Beispiel #1
0
void
HeatConductionApp::registerObjects(Factory & factory)
{
#undef registerObject
#define registerObject(name) factory.reg<name>(stringifyName(name))

#undef registerNamedObject
#define registerNamedObject(obj, name) factory.reg<obj>(name)

    registerNamedKernel(HeatConductionKernel, "HeatConduction");
    registerKernel(AnisoHeatConduction);
    registerKernel(HeatConductionTimeDerivative);
    registerKernel(HeatSource);
    registerBoundaryCondition(HeatConductionBC);
    registerBoundaryCondition(ConvectiveFluxFunction);
    registerBoundaryCondition(GapHeatTransfer);
    registerBoundaryCondition(CoupledConvectiveFlux);
    registerMaterial(GapConductance);
    registerMaterial(HeatConductionMaterial);
    registerMaterial(AnisoHeatConductionMaterial);
    registerDiracKernel(GapHeatPointSourceMaster);
    registerPostprocessor(ThermalCond);
    registerConstraint(GapConductanceConstraint);

#undef registerNamedObject
#define registerNamedObject(obj, name) factory.regLegacy<obj>(name)

#undef registerObject
#define registerObject(name) factory.regLegacy<name>(stringifyName(name))
}
Beispiel #2
0
void
HeatConductionApp::registerObjects(Factory & factory)
{
  registerNamedKernel(HeatConductionKernel, "HeatConduction");

  registerKernel(AnisoHeatConduction);
  registerKernel(HeatConductionTimeDerivative);
  registerKernel(HeatSource);
  registerKernel(HomogenizedHeatConduction);
  registerKernel(HeatCapacityConductionTimeDerivative);
  registerKernel(SpecificHeatConductionTimeDerivative);

  registerBoundaryCondition(HeatConductionBC);
  registerBoundaryCondition(ConvectiveFluxFunction);
  registerBoundaryCondition(GapHeatTransfer);
  registerBoundaryCondition(CoupledConvectiveFlux);

  registerMaterial(GapConductance);
  registerMaterial(HeatConductionMaterial);
  registerMaterial(AnisoHeatConductionMaterial);

  registerDiracKernel(GapHeatPointSourceMaster);

  registerPostprocessor(HomogenizedThermalConductivity);
  registerPostprocessor(ThermalConductivity);

  registerConstraint(GapConductanceConstraint);
}