47 BC1D() :
dc(2, fill::zeros),
nc(2, fill::zeros),
v(2, fill::zeros) {}
60 BC2D() :
dc(4, fill::zeros),
nc(4, fill::zeros),
v(4) {}
73 BC3D() :
dc(6, fill::zeros),
nc(6, fill::zeros),
v(6) {}
92 const vec &dc,
const vec &nc,
93 sp_mat &Al, sp_mat &Ar);
111 const vec &dc,
const vec &nc,
112 sp_mat &Al, sp_mat &Ar, sp_mat &Ab, sp_mat &At);
134 const vec &dc,
const vec &nc,
135 sp_mat &Al, sp_mat &Ar, sp_mat &Ab,
136 sp_mat &At, sp_mat &Af, sp_mat &Ak);
164 const std::vector<vec> &v,
165 const uvec &rl,
const uvec &rr,
166 const uvec &rb,
const uvec &rt);
183 const std::vector<vec> &v,
184 const uvec &rl,
const uvec &rr,
const uvec &rb,
185 const uvec &rt,
const uvec &rf,
const uvec &rk);
203void addScalarBC(sp_mat &A, vec &b, u16 k, u32 m,
Real dx,
const BC1D &bc);
220 u32 n,
Real dy,
const BC2D &bc);
239 u32 n,
Real dy, u32 o,
Real dz,
const BC3D &bc);
void addScalarBC(sp_mat &A, vec &b, u16 k, u32 m, Real dx, const BC1D &bc)
Apply boundary conditions to a 1D discrete operator and RHS.
void addScalarBCrhs(vec &b, const vec &v, const uvec &indices)
Apply boundary values to the RHS vector for a 1D problem.
void addScalarBClhs(u16 k, u32 m, Real dx, const vec &dc, const vec &nc, sp_mat &Al, sp_mat &Ar)
Compute LHS boundary condition matrices for a 1D problem.