Skip to content
Snippets Groups Projects
FTCS.Rd 548 B
Newer Older
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Rphree_Diffusion.R
\name{FTCS}
\alias{FTCS}
\title{Call \code{RcppBTCS::RcppFTCS()}}
\usage{
FTCS(field, dx, dt, alpha)
}
\arguments{
\item{field}{NumericVector of length n+1 with Dirichlet boundary
conditions prepended}

\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)}
}
\value{
updated concentration vector
}
\description{
Call \code{RcppBTCS::RcppFTCS()}
}
\author{
MDL
}