Commit 48c87a51 authored by Philipp Schäfer's avatar Philipp Schäfer

itaComsolNode

-now can also represent a node that is not on first level (e.g. result.export)
-now can access Children via tag, name or index
-cleaned up Static functions:
  -Functions that only work on feature nodes are declared properly now
  -Removed outdated helper functions
  -properly grouped helper functions
parent 7addece8
......@@ -48,7 +48,7 @@ classdef itaComsolPhysics < itaComsolNode
%Note: This assumes that the first child of the physics node is
%always the acoustic model node
physics = obj.activeNode;
physicsFeatures = obj.getChildNodes(physics);
physicsFeatures = obj.getFeatureNodes(physics);
acousticModelNode = [];
if ~isempty(physicsFeatures)
......@@ -61,7 +61,7 @@ classdef itaComsolPhysics < itaComsolNode
methods
function impedanceNodes = ImpedanceNodes(obj)
%Returns the impedance nodes of the active physics node.
impedanceNodes = obj.getChildNodesByType(obj.mActiveNode, 'Impedance');
impedanceNodes = obj.getFeatureNodesByType(obj.mActiveNode, 'Impedance');
end
function impedanceNodeOfBoundary = ImpedanceNodeByBoundaryGroupName(obj, boundaryGroupName)
%Returns the impedance node of the active physics node that is
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment