
# This is the first version of the PMARC boundary condition data file

format name "PMARC" tclfile pmarc.tcl translator pmarc

category name "Section Information"
	# *** PATCH1 ***
	bctype title "Type" name "TYPE" dims {1 2} pos 0	

		#IDPAT
		arg type int title "Patch type:" default 2 \
			pos 2 choices {{"Body" 2} {"Wing" 1} {"Neumann" 3}} gui_type radio

		#IREV
		arg type int title "Reverse patch:" default 0 \
			pos 1 choices {{yes -1} {no 0}} gui_type radio

		#MAKE=0 if no "automatic tip" is selected as BC; i.e MAKE=0 is the default

		#KCOMP
		arg type int title "KCOMP:" default 1 pos 3

		#KASS
		arg type int title "KASS:" default 1 pos 4

		#IPATSYM=0 -> NO SYMETRICAL PATCH
		#IPATCOP=0 -> NO COPYING PATCH
		
	bctype title "Definition" name "PATCH" dims {1 2} pos 0
		#STX, STY, STZ
		arg type float title "X origin" default 0.0 pos 1
		arg type float title "Y origin" default 0.0 pos 2
		arg type float title "Z origin" default 0.0 pos 3

		#SCALE
		arg type float title "Section scale:" default 1.0 pos 4
		
		#ALF
		arg type float title "Rotation angle about Y axis:" default 0.0 pos 5

		#THETA
		arg type float title "Rotation angle about Z axis:" default 0.0 pos 6

		
		#TNPS
		arg type int title "# of crosswise panels (TNPS):" default 0 pos 7

		#TINTS
		arg type int title "Crosswise Spacing:" default 3 \
			pos 8 choices {{"full cosine" 0} {"half cosine: smaller at start" 1} \
				       {"half cosine: smaller at end" 2} {"equal" 3}} gui_type radio

		#TNPC (BPNODE): # of panel streamwise panels
		arg type int title "# of 'streamwise' panels (TNPC):" default 0 pos 9

		#TINTC (BPNODE): spacing
		arg type int title "Streamwise spacing:" default 3 \
			pos 10 choices {{"full cosine" 0} {"half cosine: smaller at start" 1} \
				        {"half cosine: smaller at end" 2} {"equal" 3}} gui_type radio

	# Automatic Tip Generation -> NOT IMPLEMENTED				
#	bctype title "Tip patch" name "TIP" dims {1 2} pos 0
		#TNPS
#		arg type int title "# of panels between 2 sections" default 0 pos 6

		#TINTS
#		arg type int title "Spacing between 2 sections:" default 0 \
#			pos 7 choices {{"full cosine" 0} {"half cosine: smaller at start" 1} \
#				       {"half cosine: smaller at end" 2} {"equal" 3}} gui_type radio

		#TNPC (BPNODE): # of panel to be generated for that section
#		arg type int title "# of panels along this section" default 0 pos 8

		#TINTC (BPNODE): spacing
#		arg type int title "Spacing along sections:" default 0 \
#			pos 9 choices {{"full cosine" 0} {"half cosine: smaller at start" 1} \
#				        {"half cosine: smaller at end" 2} {"equal" 3}} gui_type radio

		#ITYP
#		arg type int title "Tip patch type:" default 1 \
#			pos 5 choices {{"flat tip" 1} {"circular arc" 2}} gui_type radio 
		
		



#PATCH3: Copy a patch-> NOT IMPLEMENTED because not needed...
