-
Notifications
You must be signed in to change notification settings - Fork 138
/
Copy pathFactory.py
55 lines (52 loc) · 2.45 KB
/
Factory.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright 2017 Battelle Energy Alliance, LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""
Factory for generating the instances of the Models Module
"""
from ..EntityFactoryBase import EntityFactory
from ..CodeInterfaceBaseClass import CodeInterfaceBase
from .Generic.GenericCodeInterface import GenericCode
from .Abce.AbceCodeInterface import Abce
from .AccelerateCFD.AccelerateCFD import AcceleratedCFD
from .CobraTF.CTFinterface import CTF
from .Dymola.DymolaInterface import Dymola
from .MAAP5.MAAP5Interface import MAAP5
from .MAMMOTH.MAMMOTHInterface import MAMMOTH
from .MELCOR.melcorCombinedInterface import Melcor
from .MooseBasedApp.BisonAndMeshInterface import BisonAndMesh
from .MooseBasedApp.CubitInterface import Cubit
from .MooseBasedApp.CubitMooseInterface import CubitMoose
from .MooseBasedApp.MooseBasedAppInterface import MooseBasedApp
from .MooseBasedApp.BisonMeshScriptInterface import BisonMeshScript
from .Neutrino.neutrinoInterface import Neutrino
from .OpenModelica.OpenModelicaInterface import OpenModelica
from .PHISICS.PhisicsInterface import Phisics
from .PHISICS.PhisicsRelapInterface import PhisicsRelap5
from .Prescient.PrescientCodeInterface import Prescient
from .RAVEN.RAVENInterface import RAVEN
from .RELAP5.Relap5Interface import Relap5
from .RELAP5inssJp.Relap5inssJpInterface import Relap5inssJp
from .RELAP7.RELAP7Interface import RELAP7
from .Rattlesnake.RattlesnakeInterface import Rattlesnake
from .SCALE.ScaleInterface import Scale
from .PARCS.PARCSInterface import PARCS
from .SERPENT.SerpentInterface import SERPENT
from .SIMULATE3.SimulateInterface import Simulate
from .Saphire.SaphireInterface import Saphire
from .SIMULATE3.SimulateInterface import Simulate
from .WorkshopExamples.ProjectileInterface import Projectile
from .WorkshopExamples.ProjectileInterfaceNoCSV import ProjectileNoCSV
from .WorkshopExamples.BatemanInterface import BatemanSimple
factory = EntityFactory('Code', needsRunInfo=True)
factory.registerAllSubtypes(CodeInterfaceBase)