template<typename T>
class gismo::gsXBraid< gsVector< T > >
Specializations for gsXBraid<gsVector<T>>
|
virtual braid_Int | BufPack (braid_Vector u, void *buffer, BraidBufferStatus &status) |
| Packs the given vector into the MPI communication buffer.
|
|
virtual braid_Int | BufUnpack (void *buffer, braid_Vector *u_ptr, BraidBufferStatus &status) |
| Unpacks a vector from the MPI communication buffer.
|
|
virtual braid_Int | Clone (braid_Vector u, braid_Vector *v_ptr) |
| Clones the given vector.
|
|
virtual braid_Int | Free (braid_Vector u) |
| Frees the given vector.
|
|
void | GetMyID (braid_Int *myid_ptr) |
| Gets the MPI process ID.
|
|
void | GetNLevels (braid_Int *nlevels_ptr) |
| Gets the total number of levels (XBraid style)
|
|
void | GetNumIter (braid_Int *niter_ptr) |
| Gets the number of iterations (XBraid style)
|
|
void | GetRNorms (braid_Int *nrequest_ptr, braid_Real *rnorms) |
| Gets the residual norm (XBraid style)
|
|
| gsXBraid (const gsMpiComm &comm, const braid_Real tstart, const braid_Real tstop, braid_Int ntime) |
| Constructor.
|
|
braid_Int | id () |
| Returns the MPI process ID.
|
|
braid_Int | iterations () |
| Returns the number of iterations.
|
|
braid_Int | levels () |
| Returns the total number of levels.
|
|
braid_Real | norm (braid_Int nrequest) |
| Returns the residual norm.
|
|
virtual braid_Int | Residual (braid_Vector, braid_Vector, BraidStepStatus &) |
| Computes the residual (dummy method)
|
|
void | SetAbsTol (braid_Real tol) |
| Sets absolute stopping tolerance.
|
|
void | SetAccessLevel (braid_Int access_level) |
|
void | SetCFactor (braid_Int level, braid_Int cfactor) |
| Sets the coarsening factor cfactor on grid level (default is 2)
|
|
void | SetCFactor (braid_Int cfactor) |
| Sets the coarsening factor cfactor on all grid levels.
|
|
void | SetCRelaxWt (braid_Int level, braid_Real Cwt) |
| Sets the C-relaxation weight.
|
|
void | SetDefaultPrintFile () |
| Sets the default print file.
|
|
void | SetFileIOLevel (braid_Int io_level) |
| Sets the file input/output level.
|
|
void | SetFMG () |
| Sets FMG (F-cycle)
|
|
void | SetFullRNormRes (braid_PtFcnResidual residual) |
| Sets callback function for residual numer calculation.
|
|
void | SetIncrMaxLevels () |
| Increases the max number of multigrid levels after performing a refinement.
|
|
void | SetMaxIter (braid_Int max_iter) |
| Sets max number of multigrid iterations.
|
|
void | SetMaxLevels (braid_Int max_levels) |
| Sets the maximum number of multigrid levels.
|
|
void | SetMaxRefinements (braid_Int max_refinements) |
| Sets the max number of time grid refinement levels allowed.
|
|
void | SetMinCoarse (braid_Int min_coarse) |
|
void | SetNFMG (braid_Int k) |
| Sets the number of initial F-cycles to do before switching to V-cycles.
|
|
void | SetNFMGVcyc (braid_Int nfmg_Vcyc) |
| Sets the number of V-cycles to do at each FMG level (default is 1)
|
|
void | SetNRelax (braid_Int level, braid_Int nrelax) |
|
void | SetNRelax (braid_Int nrelax) |
|
void | SetPeriodic (braid_Int periodic) |
| Sets periodic time grid (default is 0)
|
|
void | SetPrintFile (const char *printfile_name) |
| Sets the output file for runtime print message.
|
|
void | SetPrintLevel (braid_Int print_level) |
|
void | SetRefine (braid_Int refine) |
| Turns time refinement on (refine = 1) or off (refine = 0).
|
|
void | SetRelTol (braid_Real tol) |
| Sets relative stopping tolerance.
|
|
void | SetResidual () |
| Sets user-defined residual routine.
|
|
void | SetRichardsonEstimation (braid_Int est_error, braid_Int richardson, braid_Int local_order) |
|
void | SetSeqSoln (braid_Int use_seq_soln) |
|
void | SetSkip (braid_Int skip) |
| Sets whether to skip all work on the first down cycle (skip = 1). On by default.
|
|
void | SetSpatialCoarsenAndRefine () |
| Sets user-defined coarsening and refinement routine.
|
|
void | SetStorage (braid_Int storage) |
|
void | SetSync () |
| Sets user-defined sync routine.
|
|
void | SetTemporalNorm (braid_Int tnorm) |
| Sets the temporal norm: 1-norm (1), 2-norm (2:default), inf-norm (3)
|
|
void | SetTimeGrid (braid_PtFcnTimeGrid tgrid) |
| Sets callback function for time grid.
|
|
void | SetTPointsCutoff (braid_Int tpoints_cutoff) |
| Sets the time cutoff.
|
|
void | solve () |
| Runs the parallel-in-time multigrid solver.
|
|
virtual braid_Int | SpatialNorm (braid_Vector u, braid_Real *norm_ptr) |
| Computes the spatial norm of the given vector.
|
|
virtual braid_Int | Sum (braid_Real alpha, braid_Vector x, braid_Real beta, braid_Vector y) |
| Computes the sum of two given vectors.
|
|
virtual | ~gsXBraid () |
| Destructor.
|
|