%\documentclass[10pt]{elsarticle}
\documentclass[10pt]{article}

\usepackage{authblk}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{color}
\usepackage{bm}
\usepackage{lineno,hyperref}
\usepackage[colorinlistoftodos,prependcaption,textsize=tiny]{todonotes}
\usepackage{subcaption}
\usepackage{algorithm}
\usepackage[left=2cm,right=2cm,a4paper]{geometry}

%\let\pdfxform\saveboxresource % fix for lualatex and attachfile
%\usepackage{embedfile}
\usepackage{attachfile}
\newcommand{\attachtxt}[1]{\attachfile[icon=Paperclip, mimetype=text/plain, description={#1}, author={LBMAT}]{#1} attached text file: \texttt{#1}}


\sloppy



\usepackage{breqn} % break equations automatically
%\breqnsetup{breakdepth={1},compact}
\usepackage{framed}
%\usepackage{setspace}
\usepackage{longtable}
\usepackage{booktabs}
\let\vec\boldsymbol

\usepackage[nodisplayskipstretch]{setspace}
\renewcommand\setstretch{1.5}
%\binoppenalty=\maxdimen
%\relpenalty=\maxdimen

\definecolor{darkgreen}{rgb}{0.09, 0.45, 0.27}

\newcommand{\matr}[1]{\mathbf{#1}} % undergraduate algebra version
\newcommand{\va}{{\vec{\alpha}}}
\newcommand{\vy}{{\vec{y}}}
\newcommand{\vx}{{\vec{x}}}
\newcommand{\vz}{{\vec{z}}}
\newcommand{\vc}{{\vec{c}}}
\newcommand{\vb}{{\vec{b}}}
\newcommand{\vp}{{\vec{p}}}
\newcommand{\vq}{{\vec{q}}}
\newcommand{\vu}{{\vec{v}}}
\newcommand{\dt}{\delta_t}
\newcommand{\dl}{\delta_l}
\newcommand{\norm}[1]{\left| #1\right|}
\newcommand{\ud}{\mathrm{d}}
\newcommand{\D}{\mathrm{D}}
%\newcommand{\D}{\partial}
\newcommand{\kum}{\gamma}

\setlength\parindent{0pt}

\usepackage[np]{numprint}
\npstyleenglish
\npproductsign{\cdot}
\npthousandsep{}            % eliminate thousand separator to the left of the decimal point
\npthousandthpartsep{}      % eliminate thousand separator to the right of the decimal point

\newcount\colveccount
\newcommand*\colvec[1]{
	\global\colveccount#1
	\begin{pmatrix}
		\colvecnext
	}
	\def\colvecnext#1{
		#1
		\global\advance\colveccount-1
		\ifnum\colveccount>0
		\\
		\expandafter\colvecnext
		\else
	\end{pmatrix}
	\fi
}

\setcounter{MaxMatrixCols}{30}

%\usepackage{multicol}
% packages for EOC tables etc.
%\usepackage{booktabs}
%\usepackage{multirow}
%\newcommand{\shiftleft}[2]{\makebox[0pt][r]{\makebox[#1][l]{#2}}}
%\newcommand{\shiftright}[2]{\makebox[#1][r]{\makebox[0pt][l]{#2}}}

\bibliographystyle{elsarticle-num}

\newcommand{\titler}[2]
{
        \title{
        \textbf{#1 #2},
        \\
        {a supplementary material for}
        \\
        \textbf{
	{Lattice Boltzmann Method Analysis Tool (LBMAT)}
        }
        }
        \date{}
        \author[$\dagger$]{Radek Fučík}
        \author[$\dagger$]{Pavel Eichler}
        \author[$\dagger$]{Jakub Klinkovský}
        \author[$\ddag$,$\dagger$]{Robert Straka}
        \author[$\dagger$]{Tomáš Oberhuber}
        \affil[$\dagger$]{Faculty of Nuclear Sciences and Physical Engineering, Czech Technical University in Prague, Trojanova 13, 120 00 Prague, Czech Republic}
        \affil[$\ddag$]{AGH University of Science and Technology, al. Mickiewicza 30, 30-059 Krakow, Poland}
}

\newcommand{\mmA}{\mu_{1}}
\newcommand{\mmB}{\mu_{2}}
\newcommand{\mmC}{\mu_{3}}
\newcommand{\mmD}{\mu_{4}}
\newcommand{\mmE}{\mu_{5}}
\newcommand{\mmF}{\mu_{6}}
\newcommand{\mmG}{\mu_{7}}
\newcommand{\mmH}{\mu_{8}}
\newcommand{\mmI}{\mu_{9}}
\newcommand{\mmJ}{\mu_{10}}
\newcommand{\mmK}{\mu_{11}}
\newcommand{\mmL}{\mu_{12}}
\newcommand{\mmM}{\mu_{13}}
\newcommand{\mmN}{\mu_{14}}
\newcommand{\mmO}{\mu_{15}}
\newcommand{\mmP}{\mu_{16}}
\newcommand{\mmQ}{\mu_{17}}
\newcommand{\mmR}{\mu_{18}}
\newcommand{\mmS}{\mu_{19}}
\newcommand{\mmT}{\mu_{20}}
\newcommand{\mmU}{\mu_{21}}
\newcommand{\mmV}{\mu_{22}}
\newcommand{\mmW}{\mu_{23}}
\newcommand{\mmX}{\mu_{24}}
\newcommand{\mmY}{\mu_{25}}
\newcommand{\mmZ}{\mu_{26}}
\newcommand{\mmAA}{\mu_{27}}
\newcommand{\hatM}{\tilde M}

\newcommand{\oA}{\omega_{1}}
\newcommand{\oB}{\omega_{2}}
\newcommand{\oC}{\omega_{3}}
\newcommand{\oD}{\omega_{4}}
\newcommand{\oE}{\omega_{5}}
\newcommand{\oF}{\omega_{6}}
\newcommand{\oG}{\omega_{7}}
\newcommand{\oH}{\omega_{8}}
\newcommand{\oI}{\omega_{9}}
\newcommand{\oJ}{\omega_{10}}
\newcommand{\oK}{\omega_{11}}
\newcommand{\oL}{\omega_{12}}
\newcommand{\oM}{\omega_{13}}
\newcommand{\oN}{\omega_{14}}
\newcommand{\oO}{\omega_{15}}
\newcommand{\oP}{\omega_{16}}
\newcommand{\oQ}{\omega_{17}}
\newcommand{\oR}{\omega_{18}}
\newcommand{\oS}{\omega_{19}}
\newcommand{\oT}{\omega_{20}}
\newcommand{\oU}{\omega_{21}}
\newcommand{\oV}{\omega_{22}}
\newcommand{\oW}{\omega_{23}}
\newcommand{\oX}{\omega_{24}}
\newcommand{\oY}{\omega_{25}}
\newcommand{\oZ}{\omega_{26}}
\newcommand{\oAA}{\omega_{27}}

\newcommand{\modelq}{}
\newcommand{\modelqc}{}

% spatial vectors
%\newcommand{\x}{x}
%\newcommand{\y}{y}
%\newcommand{\z}{z}
\newcommand{\x}{x_1}
\newcommand{\y}{x_2}
\newcommand{\z}{x_3}

% velocity vectors
%\newcommand{\ou}{u}
%\newcommand{\ov}{v}
%\newcommand{\ow}{w}
\newcommand{\ou}{v_1}
\newcommand{\ov}{v_2}
\newcommand{\ow}{v_3}

\newcommand{\RAWMODEL}{TARGET}