#include <stdio.h>
#include "timecontr.h"
#include "npglvec.h"
Go to the source code of this file.
Functions | |
void | par_linear_nonstat_solv_vform () |
void | par_nonstat_solv_vform_comp () |
void | par_nonstat_solver_init (long lcid, np_glob_vec &np_gv) |
long | par_one_step_linear (long lcid, double time, double dt, long istep, long li, np_glob_vec &np_gv) |
long | par_one_step_nonlinear (long lcid, double time, double dt, long istep, long li, np_glob_vec &np_gv) |
void | par_solve_nonstationary_problem () |
void par_linear_nonstat_solv_vform | ( | ) |
function solves linear nonstationary transport problem the v-form version of the generalized trapezoidal method see T.J.R. Hughes: The Finite Element Method; Linear Static and Dynamic Finite Element Analysis
JK
Definition at line 568 of file pnpsolvert.cpp.
References actual_previous_change(), timecontr::actualbacktimeincr(), gmatrix::addgm(), probdesct::alpha, approximation(), capacity_matrix(), Cmat, conductivity_matrix(), timecontr::endtime(), pprobdesct::fei, pprobdesct::fni, lhsrhst::give_lhs(), lhsrhst::give_rhs(), lhsrhst::give_tdlhs(), gmatrix::gmxv(), Gtt, timecontr::initialtimeincr(), transmat::initmaterialmodels(), Kmat, lhsrhst::lhsi, Lsrst, Mesprt, Myrank, Ndoft, timecontr::newtime(), nullv(), Outt, p, print_closet(), print_flusht(), print_initt(), print_stept(), gmatrix::printmat(), Psolt, Ptp, gmatrix::scalgm(), timecontr::starttime(), probdesct::time, probdesct::timecont, Tm, Tp, trfel_right_hand_side(), and probdesct::zero.
void par_nonstat_solv_vform_comp | ( | ) |
function solves parallel linear nonstationary transport problem the v-form version of the generalized trapezoidal method see T.J.R. Hughes: The Finite Element Method; Linear Static and Dynamic Finite Element Analysis
according to JK, 20.12.2002 and TKo mtsolver.cpp revised 05/11/2012 by TKr
Definition at line 44 of file pnpsolvert.cpp.
References timecontr::actualbacktimeincr(), timecontr::actualforwtimeincr(), compute_req_valt(), timecontr::dtmax, timecontr::dtmin, timecontr::endtime(), timecontr::initialtimeincr(), np_glob_vec::istep, np_glob_vec::lhs, Mesprt, Myrank, Ndoft, timecontr::newtime(), nonlinear_nonstationary_problem, nonstationary_problem, nullv(), timecontr::oldtime(), par_nonstat_solver_init(), par_one_step_linear(), par_one_step_nonlinear(), print_closet(), print_flusht(), print_stept(), np_glob_vec::rhs, stat, timecontr::tct, np_glob_vec::tdlhs, gfunct::tfunc, probdesct::time, probdesct::timecont, timecontr::timefun, Tp, and probdesct::tprob.
Referenced by par_solve_nonstationary_problem().
void par_nonstat_solver_init | ( | long | lcid, | |
np_glob_vec & | np_gv | |||
) |
Function allocates and initializes global vectors used in npsolver It is used in one_step concept solver.
Created by tomas Krejci according to Tomas Koudelka, 02/2013
Definition at line 179 of file pnpsolvert.cpp.
References actual_previous_nodval(), np_glob_vec::alloc(), np_glob_vec::alloc_aux(), approximation(), compute_req_valt(), np_glob_vec::f, pprobdesct::fei, pprobdesct::fni, lhsrhst::give_lhs(), lhsrhst::give_rhs(), lhsrhst::give_tdlhs(), probdesct::hdbcont, timecontr::initialtimeincr(), transmat::initmaterialmodels(), np_glob_vec::istep, np_glob_vec::lhs, Lsrst, Ndoft, nonlinear_nonstationary_problem, probdesct::nvs, probdesct::pnvs, print_flusht(), print_initt(), print_stept(), Ptp, hdbcontr::restore_stat(), np_glob_vec::rhs, solvert_restore(), timecontr::starttime(), np_glob_vec::tdlhs, probdesct::time, probdesct::timecont, Tm, Tp, and probdesct::tprob.
Referenced by par_nonstat_solv_vform_comp().
long par_one_step_linear | ( | long | lcid, | |
double | time, | |||
double | dt, | |||
long | istep, | |||
long | li, | |||
np_glob_vec & | np_gv | |||
) |
function solves parallel linear nonstationary transport problem the v-form version of the generalized trapezoidal method see T.J.R. Hughes: The Finite Element Method; Linear Static and Dynamic Finite Element Analysis
according to JK, 20.12.2002, revised 19/02/2013 by TKr
Definition at line 237 of file pnpsolvert.cpp.
References actual_previous_nodval(), gmatrix::addgm(), probdesct::alpha, approximation(), capacity_matrix(), Cmat, compute_req_valt(), conductivity_matrix(), np_glob_vec::d, np_glob_vec::f, f, gmatrix::gmxv(), Gtt, probdesct::hdbcont, timecontr::isitimptime(), probdesct::istep, Kmat, np_glob_vec::lhs, Mesprt, Myrank, Ndoft, probdesct::nvs, Outt, np_glob_vec::p, p, probdesct::pnvs, print_flusht(), print_stept(), Psolt, np_glob_vec::rhs, hdbcontr::save_stat(), gmatrix::scalgm(), solution_correction(), solvert_save(), np_glob_vec::tdlhs, probdesct::time, probdesct::timecont, Tm, Tp, trfel_right_hand_side(), and transmat::updateipval().
Referenced by par_nonstat_solv_vform_comp().
long par_one_step_nonlinear | ( | long | lcid, | |
double | time, | |||
double | dt, | |||
long | istep, | |||
long | li, | |||
np_glob_vec & | np_gv | |||
) |
function solves parallel non-linear nonstationary transport problem by Newton-Raphson method the v-form version of the generalized trapezoidal method see T.J.R. Hughes: The Finite Element Method; Linear Static and Dynamic Finite Element Analysis
according to TKo revised 05/11/2012 by TKr
Definition at line 348 of file pnpsolvert.cpp.
References actual_previous_nodval(), gmatrix::addgm(), probdesct::alpha, approximation(), capacity_matrix(), Cmat, compute_req_valt(), conductivity_matrix(), probdesct::convergcontrolt, gmatrix::copygm(), np_glob_vec::d, probdesct::errarr, np_glob_vec::f, f, np_glob_vec::fb, np_glob_vec::fi, fluxest, fullnewtont, gmatrix::gmxv(), Gtt, probdesct::hdbcont, internal_fluxes(), timecontr::isitimptime(), probdesct::istep, Kmat, np_glob_vec::lhs, lrhst, Mesprt, Myrank, Ndoft, probdesct::nii, nullv(), probdesct::nvs, Outt, np_glob_vec::p, p, probdesct::pnvs, print_flusht(), print_stept(), Psolt, np_glob_vec::rhs, hdbcontr::save_stat(), gmatrix::scalgm(), solution_correction(), solvert_save(), np_glob_vec::tdlhs, probdesct::threshrhs, probdesct::time, probdesct::timecont, Tm, Tp, probdesct::trestype, trfel_right_hand_side(), probdesct::trsolv, transmat::updateipval(), yes, and probdesct::zero.
Referenced by par_nonstat_solv_vform_comp().
void par_solve_nonstationary_problem | ( | ) |
function solves parallel nonstationary transport problem
function selects a suitable numerical scheme for solution
TKr, 19/02/2013
Definition at line 18 of file pnpsolvert.cpp.
References discont_nonstat_problem, par_nonstat_solv_vform_comp(), Tp, and probdesct::tprob.
Referenced by par_solve_trfel_problem().