#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 3 of the License, or
#  (at your option) any later version.
# 
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU Library General Public License for more details.
# 
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# 
#  Copyright (C) 2021- by Eric Wheeler, KJ7LNW.  All rights reserved.
#
#  The official website and doumentation for xnec2c-optimizer is available here:
#    https://www.xnec2c.org/
#
package NEC2::Card::EX;

use strict;
use warnings;

use parent 'NEC2::Card';

sub defaults 
{
	return (type => 0, ex_tag => 1, ex_segment => 1, v_real => 1, v_imag => 0);
}


# human-readable terms, some have multiple aliases for the same thing:
sub param_map
{
	return {

		type        =>  'i1',
		ex_tag      =>  'i2',
		
		ex_seg      =>  'i3',
		ex_segment  =>  'i3',
		
		v_real      =>  'f1',
		v_imag      =>  'f2',
	};
}

1;

