![]() We're going to build our first PDF refinement using these menus now, looking at a nanosolution of CeO 2 in a solvent. Here is an image of the menu expanded down a couple of levels. The location of keywords and macro calls can be important - make sure you have your cursor in the correct position before selecting your desired options. ![]() We typically make our topas input files using these menus, although of course you can just type the commands straight into the editor window if you know them! Double clicking on an item will insert the relevant lines wherever the cursor is. You will see the word XInsert vertically on the very left side, click this button to toggle whether the menu appears. ![]() The XInsert menu on the left hand side has already been configured on your training machines, and provides you with a helpful way of accessing various macros defined in all three. Topas registers these files when it starts up, so if you already have topas running you should restart it to ensure these files are included. If it's included more than once, topas will complain that you have macros already defined - macros cannot be overwritten. We have provided you with two files some macros which apply to any refinements in local.inc, and some pdf-specific ones in the file pdf.inc.Ĭopy these files from your tutorial resource directory into the main topas directory C:\topas6Įnsure that topas knows to consult pdf.inc when looking for macros by adding #include pdf.inc to the top of local.inc file. Users can also compile their own files of macros and #include those if they wish. This tells topas to also consult the file local.inc to look for macro definitions when running a refinement: users should put their own custom macros in this file if they need to be used for multiple files. You will notice at the top of topas.inc the line #include local.inc. By default, this file is consulted when you run a refinement so if you request the macro Out_Ycalc it is found within topas.inc and implemented.Ĭhanging anything within topas.inc is not recommended The user is able to define their own macros, and the #include statement is the method by which macros are utilised without them needing to be defined within the current input file.īy default, Topas comes with a selection of macros which are held within the file topas.inc in the main topas directory. Topas utilises a simple system of built-in keywords (such as pdf_data, space_group, r_wp) and defined macros (such as dQ_damping, beq_spherical, Damp, and pdf_for_pairs). The only thing you will need to do is the configuration of the included files. Steps 1 and 2 have both been performed for you already on your diatrain machine. The first two steps are covered in the Durham Rietveld school pages, jEdit uses a number of plugins to increase the functionality of the software and these are configured as part of step 2. There are three steps involved in the installation and configuration of jEdit for use with topas.
0 Comments
Leave a Reply. |