<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Комментарии: OOMMF Utilities 1.0	</title>
	<atom:link href="https://ritm.knu.ua/ru/publications/sm/oommf-utilities-1-0/feed/" rel="self" type="application/rss+xml" />
	<link>https://ritm.knu.ua/ru/publications/sm/oommf-utilities-1-0/</link>
	<description>Research in Theory of Magnetism</description>
	<lastBuildDate>Sun, 29 Nov 2015 11:23:20 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.1</generator>
	<item>
		<title>
		Автор: Alex Volkov		</title>
		<link>https://ritm.knu.ua/ru/publications/sm/oommf-utilities-1-0/#comment-3</link>

		<dc:creator><![CDATA[Alex Volkov]]></dc:creator>
		<pubDate>Sun, 29 Nov 2015 11:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://ritm.knu.ua/?p=1321#comment-3</guid>

					<description><![CDATA[В ответ на &lt;a href=&quot;https://ritm.knu.ua/ru/publications/sm/oommf-utilities-1-0/#comment-2&quot;&gt;Khaled&lt;/a&gt;.

1) Put the file &quot;Reader.m&quot; to the Mathematica folder &quot;ExtraPackages&quot; (if it necessary you should use search);
2) Create Mathematica file in a folder, where are situated oommf files that you try to scan;
2) Put next lines to your Mathematica file:
&lt;code&gt;&lt;&lt; oommfUtilities`Reader`&lt;/code&gt;
&lt;code&gt;getStage[file_String] := StringSplit[file, &quot;-&quot;][[-2]] // ToExpression;&lt;/code&gt;       
&lt;code&gt;files = Sort[FileNames[&quot;*.omf&quot;, NotebookDirectory[]]]&lt;/code&gt;    
&lt;code&gt;data = OVFReader[files[[1]], Normalized -&gt; False, OutputFormat -&gt; &quot;automatic&quot;, LengthUnit -&gt; &quot;nm&quot;];&lt;/code&gt;   
3) After running this code you will get a magnetization distribution in a first file. If you want to get magnetization distribution from the other files just change the number in double square brackets in the last line.]]></description>
			<content:encoded><![CDATA[<p>В ответ на <a href="https://ritm.knu.ua/ru/publications/sm/oommf-utilities-1-0/#comment-2">Khaled</a>.</p>
<p>1) Put the file &#171;Reader.m&#187; to the Mathematica folder &#171;ExtraPackages&#187; (if it necessary you should use search);<br />
2) Create Mathematica file in a folder, where are situated oommf files that you try to scan;<br />
2) Put next lines to your Mathematica file:<br />
<code><< oommfUtilities`Reader`</code><br />
<code>getStage[file_String] := StringSplit[file, "-"][[-2]] // ToExpression;</code><br />
<code>files = Sort[FileNames["*.omf", NotebookDirectory[]]]</code><br />
<code>data = OVFReader[files[[1]], Normalized -> False, OutputFormat -> "automatic", LengthUnit -> "nm"];</code><br />
3) After running this code you will get a magnetization distribution in a first file. If you want to get magnetization distribution from the other files just change the number in double square brackets in the last line.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Автор: Khaled		</title>
		<link>https://ritm.knu.ua/ru/publications/sm/oommf-utilities-1-0/#comment-2</link>

		<dc:creator><![CDATA[Khaled]]></dc:creator>
		<pubDate>Thu, 26 Nov 2015 21:50:04 +0000</pubDate>
		<guid isPermaLink="false">http://ritm.knu.ua/?p=1321#comment-2</guid>

					<description><![CDATA[How to execute mathematica files in oommf using oommf Utilities?]]></description>
			<content:encoded><![CDATA[<p>How to execute mathematica files in oommf using oommf Utilities?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
