![]() |
|
Functions | |
void | reset (Vector< double > &unknowns) |
Reset unknowns to some nontrivial garbage. More... | |
void | get_residuals (const Vector< double > ¶m, const Vector< double > &unknowns, Vector< double > &residuals) |
Global residual fct. More... | |
void | set_spurious_solution (Vector< double > &unknowns) |
Set unknowns to spurious solution. More... | |
void | plot_it (const std::string filename) |
Plot "landscape" of residuals (only for 2D problems!) More... | |
Variables | |
double | Force =0.0 |
Force. More... | |
double | Stiffness =1.0 |
Spring stiffness. More... | |
double | U_max =5.5 |
Max. displacement. More... | |
unsigned | N_primary =1 |
void GlobalFct::get_residuals | ( | const Vector< double > & | param, |
const Vector< double > & | unknowns, | ||
Vector< double > & | residuals | ||
) |
Global residual fct.
References alpha, atan2(), oomph::CommandLineArgs::command_line_flag_has_been_set(), oomph::CommandLineArgs::doc_available_flags(), Force, j, k, N, N_primary, oomph::oomph_info, BiharmonicTestFunctions2::Pi, Stiffness, and U_max.
Referenced by SegregatedFSICollapsibleChannelProblem< ELEMENT >::actions_before_newton_convergence_check(), SegregatedFSICollapsibleChannelProblem< ELEMENT >::actions_before_segregated_convergence_check(), BaseCoupling< M, O >::checkResidual(), oomph::SpineLineMarangoniFluidInterfaceElement< ELEMENT >::fill_in_contribution_to_jacobian(), oomph::FixedVolumeSpineLineMarangoniFluidInterfaceElement< ELEMENT >::fill_in_contribution_to_jacobian(), oomph::SpineAxisymmetricMarangoniSurfactantFluidInterfaceElement< ELEMENT >::fill_in_contribution_to_jacobian(), oomph::SpineLineMarangoniSurfactantFluidInterfaceElement< ELEMENT >::fill_in_contribution_to_jacobian(), BrethertonElement< ELEMENT >::get_jacobian(), TwoNodePoissonElement::get_jacobian(), oomph::Hijacked< ELEMENT >::get_residuals(), main(), BrethertonProblem< ELEMENT >::parameter_study(), plot_it(), set_spurious_solution(), and HomogenisationProblem< ELEMENT >::sub_solve().
void GlobalFct::plot_it | ( | const std::string | filename | ) |
Plot "landscape" of residuals (only for 2D problems!)
References f(), MergeRestartFiles::filename, get_residuals(), i, j, N_primary, oomph::oomph_info, Particles2023AnalysisHung::params, and plotDoE::x.
Referenced by oomph::StefanBoltzmannHelper::bin_helper(), oomph::FishMesh< ELEMENT >::build_mesh(), main(), and oomph::StefanBoltzmannHelper::setup_stefan_boltzmann_visibility().
Set unknowns to spurious solution.
References Force, get_residuals(), N_primary, oomph::oomph_info, Stiffness, and oomph::ToleranceForFourierDecomposedHelmholtzOuterBoundary::Tol.
Referenced by main().
double GlobalFct::Force =0.0 |
Force.
Referenced by get_residuals(), main(), and set_spurious_solution().
unsigned GlobalFct::N_primary =1 |
Number of primary variables. Equal to number of raw "displacement" variables for contact problem; total number of degrees of freedom in that case is twice as big because of the unknown contact forces.
Referenced by get_residuals(), main(), plot_it(), reset(), and set_spurious_solution().
double GlobalFct::Stiffness =1.0 |
Spring stiffness.
Referenced by get_residuals(), and set_spurious_solution().
double GlobalFct::U_max =5.5 |
Max. displacement.
Referenced by get_residuals(), and main().