<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Amrex on zhi</title><link>https://zhichen3.github.io/tags/amrex/</link><description>Recent content in Amrex on zhi</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 16 Jun 2026 00:00:00 -0400</lastBuildDate><atom:link href="https://zhichen3.github.io/tags/amrex/index.xml" rel="self" type="application/rss+xml"/><item><title>AMReX Basic Syntax</title><link>https://zhichen3.github.io/posts/amrex-basics/</link><pubDate>Tue, 16 Jun 2026 00:00:00 -0400</pubDate><guid>https://zhichen3.github.io/posts/amrex-basics/</guid><description>&lt;div class="ox-hugo-toc toc">
&lt;div class="heading">Table of Contents&lt;/div>
&lt;ul>
&lt;li>&lt;a href="#dimensionality-macros--amrex-space-dot-h">Dimensionality Macros (&lt;code>AMReX_SPACE.H&lt;/code>)&lt;/a> &lt;/li>
&lt;li>&lt;a href="#paralleldescriptor--amrex-paralleldescriptor-dot-h">ParallelDescriptor (&lt;code>AMReX_ParallelDescriptor.H&lt;/code>)&lt;/a> &lt;/li>
&lt;li>&lt;a href="#amrex-array-types">AMReX Array Types&lt;/a> &lt;/li>
&lt;li>&lt;a href="#intvect--amrex-intvect-dot-h">IntVect (&lt;code>AMReX_IntVect.H&lt;/code>)&lt;/a> 
&lt;ul>
&lt;li>&lt;a href="#arithmetic-operations">Arithmetic Operations&lt;/a> &lt;/li>
&lt;li>&lt;a href="#refinement-and-coarsening">Refinement and Coarsening&lt;/a> &lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="#indextype--amrex-indextype-dot-h">IndexType (&lt;code>AMReX_IndexType.H&lt;/code>)&lt;/a> &lt;/li>
&lt;li>&lt;a href="#box--amrex-box-dot-h">Box (&lt;code>AMReX_Box.H&lt;/code>)&lt;/a> &lt;/li>
&lt;li>&lt;a href="#dim3-and-xdim3">Dim3 and XDim3&lt;/a> &lt;/li>
&lt;li>&lt;a href="#realbox--amrex-realbox-dot-h">RealBox (&lt;code>AMReX_RealBox.H&lt;/code>)&lt;/a> &lt;/li>
&lt;li>&lt;a href="#geometry--amrex-geometry-dot-h">Geometry (&lt;code>AMReX_Geometry.H&lt;/code>)&lt;/a> &lt;/li>
&lt;li>&lt;a href="#boxarray--amrex-boxarray-dot-h">BoxArray (&lt;code>AMReX_BoxArray.H&lt;/code>)&lt;/a> &lt;/li>
&lt;li>&lt;a href="#distributionmapping--amrex-distributionmapping-dot-h">DistributionMapping (&lt;code>AMReX_DistributionMapping.H&lt;/code>)&lt;/a> &lt;/li>
&lt;li>&lt;a href="#basefab">BaseFab&lt;/a> &lt;/li>
&lt;li>&lt;a href="#fabarray-multifab-and-imultifab">FabArray, MultiFab and iMultiFab&lt;/a> &lt;/li>
&lt;li>&lt;a href="#mfiter-without-tiling">MFIter without Tiling&lt;/a> &lt;/li>
&lt;li>&lt;a href="#loop-tiling">Loop Tiling&lt;/a> 
&lt;ul>
&lt;li>&lt;a href="#what-is-loop-tiling">What is Loop Tiling?&lt;/a> &lt;/li>
&lt;li>&lt;a href="#mfiter-with-tiling">MFIter with Tiling&lt;/a> &lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="#parallelfor">ParallelFor&lt;/a> &lt;/li>
&lt;/ul>
&lt;/div>
&lt;!--endtoc-->
&lt;p>&lt;a href="https://github.com/amrex-codes/amrex" target="_blank" rel="noopener">AMReX&lt;/a> is a public software framework designed for building
massively parallel block-structured adaptive mesh refinement applications.
Here I keep track of the basic syntax or classes used in AMReX
for my personal notes.&lt;/p></description></item></channel></rss>