% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Rphree_Diffusion.R
\name{BTCS}
\alias{BTCS}
\title{Call \code{RcppTUG::run1D()}}
\usage{
BTCS(field, dx, dt, alpha, bc_left)
}
\arguments{
\item{field}{NumericVector of length n}

\item{dx}{the grid spacing in m}

\item{dt}{the required time step in s}

\item{alpha}{diffusion coefficient in m^2/s (constant,
homogeneous)}

\item{bc_left}{Dirichlet boundary condition at the left inlet}
}
\value{
updated concentration vector
}
\description{
Call \code{RcppTUG::run1D()}
}
\author{
MDL
}