Skip to content
Snippets Groups Projects
Commit d89c97d3 authored by Irina LEE's avatar Irina LEE
Browse files

delete condition in top cell generator (eln)

parent fe6b9243
No related branches found
No related tags found
1 merge request!72Syscams
......@@ -73,15 +73,9 @@ public class TopCellGenerator {
if (TopCellGenerator.eln.getCluster() == null) {
System.out.println("***Warning: require at least one cluster***");
}
if (TopCellGenerator.eln.getNbClusterTerminal() == 0) {
System.out.println("***Warning: require at least one cluster terminal***");
}
if (TopCellGenerator.eln.getNbModule() == 0) {
System.out.println("***Warning: require at least one module***");
}
if (TopCellGenerator.eln.getNbModuleTerminal() == 0) {
System.out.println("***Warning: require at least one module terminal***");
}
if (TopCellGenerator.eln.getNbComponentCapacitor() + TopCellGenerator.eln.getNbComponentCurrentSinkTDF() +
TopCellGenerator.eln.getNbComponentCurrentSourceTDF() + TopCellGenerator.eln.getNbComponentIdealTransformer() +
TopCellGenerator.eln.getNbComponentIndependentCurrentSource() + TopCellGenerator.eln.getNbComponentIndependentVoltageSource() +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment