/dports/math/libmesh/libmesh-1.6.2/examples/introduction/introduction_ex2/ |
H A D | introduction_ex2.C | 106 EquationSystems equation_systems (mesh); in main() 110 equation_systems.parameters.set<bool> ("test") = true; in main() 114 equation_systems.parameters.set<Real> ("dummy") = 42.; in main() 117 equation_systems.parameters.set<Real> ("nobody") = 0.; in main() 132 equation_systems.add_system<ExplicitSystem> ("Complex System"); in main() 143 equation_systems.init(); in main() 148 equation_systems.print_info(); in main() 168 equation_systems.write (argv[1], WRITE); in main() 171 equation_systems.clear (); in main() 178 equation_systems.read (argv[1], READ); in main() [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/queso/src/core/src/ |
H A D | LibMeshFunction.C | 68 equation_systems(new libMesh::EquationSystems(m)) in LibMeshFunction() 70 this->equation_systems->add_system<libMesh::ExplicitSystem>("Function"); in LibMeshFunction() 71 this->equation_systems->get_system("Function").add_variable("u", in LibMeshFunction() 74 this->equation_systems->init(); in LibMeshFunction() 84 this->equation_systems->get_mesh().print_info(std::cerr); in print_info() 93 filename, *this->equation_systems, 1, time); in save_function() 120 this->equation_systems->get_system<libMesh::ExplicitSystem>( in scale() 125 this->equation_systems->get_system<libMesh::ExplicitSystem>( in zero() 141 this->equation_systems->get_mesh()); in zero_clone() 142 clone->equation_systems->get_system<libMesh::ExplicitSystem>( in zero_clone() [all …]
|
H A D | LibMeshOperatorBase.C | 53 equation_systems(new libMesh::EquationSystems(m)), in LibMeshOperatorBase() 76 this->equation_systems->add_system<libMesh::CondensedEigenSystem>("Eigensystem"); in LibMeshOperatorBase() 92 eval = this->equation_systems in save_converged_evals() 94 if (equation_systems->processor_id() == 0) { in save_converged_evals() 98 if (this->equation_systems->processor_id() == 0) { in save_converged_evals() 107 SharedPtr<libMesh::EquationSystems>::Type es(this->equation_systems); in save_converged_evec() 126 SharedPtr<libMesh::EquationSystems>::Type es(this->equation_systems); in get_eigenvalue() 142 return *this->equation_systems; in get_equation_systems() 150 SharedPtr<libMesh::EquationSystems>::Type es(this->equation_systems); in inverse_kl_transform() 156 this->equation_systems->comm().broadcast(xi); in inverse_kl_transform()
|
/dports/math/libmesh/libmesh-1.6.2/examples/reduced_basis/reduced_basis_ex4/ |
H A D | reduced_basis_ex4.C | 120 EquationSystems equation_systems (mesh); in main() 123 equation_systems.add_system<SimpleEIMConstruction> ("EIM"); in main() 126 equation_systems.init (); in main() 130 equation_systems.print_info(); in main() 158 EquationSystems equation_systems (mesh); in main() 163 equation_systems.add_system<SimpleRBConstruction> ("RB"); in main() 166 equation_systems.init (); in main() 170 equation_systems.print_info(); in main() 238 EquationSystems equation_systems (mesh); in main() 241 equation_systems.add_system<SimpleRBConstruction> ("RB"); in main() [all …]
|
/dports/math/libmesh/libmesh-1.6.2/examples/reduced_basis/reduced_basis_ex6/ |
H A D | reduced_basis_ex6.C | 180 EquationSystems equation_systems (mesh); in main() 183 equation_systems.add_system<SimpleEIMConstruction> ("EIM"); in main() 186 equation_systems.init (); in main() 190 equation_systems.print_info(); in main() 217 EquationSystems equation_systems (mesh); in main() 222 equation_systems.add_system<SimpleRBConstruction> ("RB"); in main() 225 equation_systems.init (); in main() 228 equation_systems.print_info(); in main() 299 EquationSystems equation_systems (mesh); in main() 302 equation_systems.add_system<SimpleRBConstruction> ("RB"); in main() [all …]
|
/dports/math/libmesh/libmesh-1.6.2/examples/adaptivity/adaptivity_ex5/ |
H A D | adaptivity_ex5.C | 233 EquationSystems equation_systems (mesh); in main() 309 equation_systems.read("saved_solution.xdr", DECODE); in main() 314 equation_systems.init (); in main() 316 equation_systems.reinit (); in main() 325 equation_systems.print_info(); in main() 327 equation_systems.parameters.set<unsigned int> in main() 329 equation_systems.parameters.set<Real> in main() 337 equation_systems); in main() 390 equation_systems.parameters.set<Real> ("dt") = dt; in main() 488 equation_systems.reinit (); in main() [all …]
|
/dports/math/libmesh/libmesh-1.6.2/examples/adaptivity/adaptivity_ex2/ |
H A D | adaptivity_ex2.C | 204 EquationSystems equation_systems (mesh); in main() 241 equation_systems.init (); in main() 253 equation_systems.read("saved_solution.xda", READ); in main() 275 equation_systems.print_info(); in main() 291 equation_systems.parameters.set<RealVectorValue>("velocity") = in main() 296 equation_systems.parameters.set<Real>("diffusivity") = 0.01; in main() 322 equation_systems.parameters.set<Real> ("dt") = dt; in main() 417 equation_systems.reinit (); in main() 438 equation_systems); in main() 450 equation_systems.write("saved_solution.xda", WRITE); in main() [all …]
|
/dports/math/libmesh/libmesh-1.6.2/examples/reduced_basis/reduced_basis_ex2/ |
H A D | reduced_basis_ex2.C | 132 EquationSystems equation_systems (mesh); in main() 137 equation_systems.add_system<SimpleRBConstruction> ("RBConvectionDiffusion"); in main() 141 equation_systems.add_system<RBSCMConstruction> ("RBSCMConvectionDiffusion"); in main() 146 equation_systems.init (); in main() 149 equation_systems.print_info(); in main() 153 equation_systems.parameters.set<unsigned int>("eigenpairs") = 1; in main() 154 equation_systems.parameters.set<unsigned int>("basis vectors") = 3; in main() 155 equation_systems.parameters.set<unsigned int> in main() 271 ExodusII_IO(mesh).write_equation_systems ("RB_sol.e", equation_systems); in main() 278 ExodusII_IO(mesh).write_equation_systems ("bf0.e", equation_systems); in main()
|
/dports/math/libmesh/libmesh-1.6.2/examples/fem_system/fem_system_ex4/ |
H A D | fem_system_ex4.C | 166 EquationSystems equation_systems (mesh); in main() 170 equation_systems.add_system<HeatSystem> ("Heat"); in main() 176 equation_systems.init (); in main() 195 equation_systems.print_info(); in main() 275 equation_systems.reinit(); in main() 283 equation_systems.reinit(); in main() 288 << equation_systems.n_active_dofs() in main() 303 ("out.e", equation_systems); in main() 308 ("out.gmv", equation_systems); in main() 313 ExactSolution exact_sol(equation_systems); in main()
|
/dports/math/libmesh/libmesh-1.6.2/examples/eigenproblems/eigenproblems_ex1/ |
H A D | eigenproblems_ex1.C | 105 EquationSystems equation_systems (mesh); in main() 110 equation_systems.add_system<EigenSystem> ("Eigensystem"); in main() 125 equation_systems.parameters.set<unsigned int>("eigenpairs") = nev; in main() 126 equation_systems.parameters.set<unsigned int>("basis vectors") = nev*3; in main() 137 equation_systems.parameters.set<Real> in main() 139 equation_systems.parameters.set<unsigned int> in main() 143 equation_systems.init(); in main() 146 equation_systems.print_info(); in main() 164 ExodusII_IO (mesh).write_equation_systems ("out.e", equation_systems); in main()
|
/dports/math/libmesh/libmesh-1.6.2/examples/vector_fe/vector_fe_ex5/ |
H A D | vector_fe_ex5.C | 109 EquationSystems equation_systems(mesh); in main() 110 equation_systems.parameters.set<Real>("epsilon") = epsilon; in main() 111 equation_systems.parameters.set<Real>("sigma") = sigma; in main() 115 auto & nl_system = equation_systems.add_system<NonlinearImplicitSystem>("Poisson"); in main() 128 equation_systems.init(); in main() 131 equation_systems.print_info(); in main() 136 ExodusII_IO(mesh).write_equation_systems("out.e", equation_systems); in main()
|
/dports/math/libmesh/libmesh-1.6.2/examples/systems_of_equations/systems_of_equations_ex8/ |
H A D | systems_of_equations_ex8.C | 104 EquationSystems equation_systems (mesh); in main() 107 equation_systems.add_system<NonlinearImplicitSystem> ("NonlinearElasticity"); in main() 128 equation_systems.add_system<ExplicitSystem> ("StressSystem"); in main() 138 …equation_systems.parameters.set<Real> ("nonlinear solver absolute residual tolerance") = nonlinear… in main() 139 …equation_systems.parameters.set<Real> ("nonlinear solver relative residual tolerance") = nonlinear… in main() 140 …equation_systems.parameters.set<unsigned int> ("nonlinear solver maximum iterations") = nonlinear_… in main() 144 equation_systems.parameters.set<Real>("young_modulus") = young_modulus; in main() 145 equation_systems.parameters.set<Real>("poisson_ratio") = poisson_ratio; in main() 206 equation_systems.init(); in main() 207 equation_systems.print_info(); in main() [all …]
|
/dports/math/libmesh/libmesh-1.6.2/examples/vector_fe/vector_fe_ex2/ |
H A D | vector_fe_ex2.C | 94 EquationSystems equation_systems (mesh); in main() 98 equation_systems.add_system<LaplaceSystem> ("Laplace"); in main() 104 equation_systems.init(); in main() 120 equation_systems.print_info(); in main() 124 ExactSolution exact_sol(equation_systems); in main() 154 ExodusII_IO(mesh).write_equation_systems("out.e", equation_systems); in main() 158 UCDIO(mesh).write_equation_systems("out.inp", equation_systems); in main()
|
/dports/math/libmesh/libmesh-1.6.2/src/fe/ |
H A D | fe_compute_data.C | 46 if (equation_systems.parameters.have_parameter<Real>("speed")) in init() 47 this->speed = this->equation_systems.parameters.get<Real>("speed"); in init() 51 if (equation_systems.parameters.have_parameter<Number>("current frequency")) in init() 52 this->frequency = this->equation_systems.parameters.get<Number>("current frequency"); in init() 55 else if (equation_systems.parameters.have_parameter<Real>("current frequency")) in init() 59 …this->frequency = static_cast<Number> (this->equation_systems.parameters.get<Real>("current freque… in init()
|
/dports/math/libmesh/libmesh-1.6.2/examples/eigenproblems/eigenproblems_ex2/ |
H A D | eigenproblems_ex2.C | 117 EquationSystems equation_systems (mesh); in main() 122 equation_systems.add_system<EigenSystem> ("Eigensystem"); in main() 137 equation_systems.parameters.set<unsigned int>("eigenpairs") = nev; in main() 138 equation_systems.parameters.set<unsigned int>("basis vectors") = nev*3; in main() 149 equation_systems.parameters.set<Real>("linear solver tolerance") = pow(TOLERANCE, 5./3.); in main() 150 equation_systems.parameters.set<unsigned int>("linear solver maximum iterations") = 1000; in main() 161 equation_systems.init(); in main() 164 equation_systems.print_info(); in main() 195 ExodusII_IO (mesh).write_equation_systems ("out.e", equation_systems); in main()
|
/dports/math/libmesh/libmesh-1.6.2/examples/miscellaneous/miscellaneous_ex1/ |
H A D | miscellaneous_ex1.C | 162 EquationSystems equation_systems (mesh); in main() 167 equation_systems.add_system<LinearImplicitSystem> ("Wave"); in main() 181 equation_systems.get_system("Wave").add_variable("p", fe_type); in main() 185 equation_systems.get_system("Wave").attach_assemble_function (assemble_wave); in main() 190 equation_systems.parameters.set<Real>("speed") = 1.; in main() 191 equation_systems.parameters.set<Real>("fluid density") = 1.; in main() 194 equation_systems.init(); in main() 197 equation_systems.print_info(); in main() 200 equation_systems.get_system("Wave").solve(); in main() 212 equation_systems.write ("eqn_sys.dat", WRITE); in main()
|
/dports/math/libmesh/libmesh-1.6.2/examples/transient/transient_ex2/ |
H A D | transient_ex2.C | 163 EquationSystems equation_systems (mesh); in main() 167 equation_systems.add_system<NewmarkSystem> ("Wave"); in main() 170 NewmarkSystem & t_system = equation_systems.get_system<NewmarkSystem> ("Wave"); in main() 192 equation_systems.parameters.set<Real>("speed") = 1000.; in main() 193 equation_systems.parameters.set<Real>("fluid density") = 1000.; in main() 199 equation_systems.init(); in main() 202 equation_systems.print_info(); in main() 254 fill_dirichlet_bc(equation_systems, "Wave"); in main() 260 fill_dirichlet_bc(equation_systems, "Wave"); in main() 281 VTKIO(mesh).write_equation_systems (file_name.str(), equation_systems); in main() [all …]
|
/dports/math/libmesh/libmesh-1.6.2/examples/transient/transient_ex1/ |
H A D | transient_ex1.C | 147 EquationSystems equation_systems (mesh); in main() 152 equation_systems.add_system<TransientLinearImplicitSystem> ("Convection-Diffusion"); in main() 164 equation_systems.init (); in main() 167 equation_systems.print_info(); in main() 174 ExodusII_IO(mesh).write_equation_systems (exodus_filename, equation_systems); in main() 176 GMVIO(mesh).write_equation_systems ("out_000.gmv", equation_systems); in main() 183 equation_systems.parameters.set<RealVectorValue>("velocity") = in main() 199 equation_systems.parameters.set<Real> ("time") = system.time; in main() 200 equation_systems.parameters.set<Real> ("dt") = dt; in main() 235 equation_systems.get_system("Convection-Diffusion").solve(); in main() [all …]
|
/dports/math/libmesh/libmesh-1.6.2/examples/vector_fe/vector_fe_ex3/ |
H A D | vector_fe_ex3.C | 94 EquationSystems equation_systems (mesh); in main() 98 equation_systems.add_system<CurlCurlSystem> ("CurlCurl"); in main() 104 equation_systems.init(); in main() 120 equation_systems.print_info(); in main() 124 ExactSolution exact_sol(equation_systems); in main() 157 ExodusII_IO(mesh).write_equation_systems("out.e", equation_systems); in main()
|
/dports/math/libmesh/libmesh-1.6.2/examples/vector_fe/vector_fe_ex4/ |
H A D | vector_fe_ex4.C | 97 EquationSystems equation_systems (mesh); in main() 101 equation_systems.add_system<CurlCurlSystem> ("CurlCurl"); in main() 107 equation_systems.init(); in main() 123 equation_systems.print_info(); in main() 127 ExactSolution exact_sol(equation_systems); in main() 160 ExodusII_IO(mesh).write_equation_systems("out.e", equation_systems); in main()
|
/dports/math/libmesh/libmesh-1.6.2/examples/reduced_basis/reduced_basis_ex3/ |
H A D | reduced_basis_ex3.C | 105 EquationSystems equation_systems (mesh); in main() 110 equation_systems.add_system<SimpleRBConstruction> ("RBConvectionDiffusion"); in main() 114 equation_systems.init (); in main() 117 equation_systems.print_info(); in main() 198 ExodusII_IO(mesh).write_equation_systems ("RB_sol.e", equation_systems); in main() 205 ExodusII_IO(mesh).write_equation_systems ("bf0.e", equation_systems); in main()
|
/dports/math/libmesh/libmesh-1.6.2/examples/adjoints/adjoints_ex6/ |
H A D | adjoints_ex6.C | 253 EquationSystems equation_systems (mesh); in main() 283 equation_systems.init (); in main() 287 equation_systems.print_info(); in main() 313 write_output(equation_systems, a_step, "primal"); in main() 349 write_output(equation_systems, a_step, "adjoint_0"); in main() 356 << equation_systems.n_active_dofs() in main() 430 equation_systems.reinit(); in main() 435 << equation_systems.n_active_dofs() in main() 445 write_output(equation_systems, a_step, "primal"); in main() 466 write_output(equation_systems, a_step, "adjoint_0"); in main() [all …]
|
/dports/math/libmesh/libmesh-1.6.2/src/error_estimation/ |
H A D | error_estimator.C | 47 void ErrorEstimator::estimate_errors(const EquationSystems & equation_systems, in estimate_errors() argument 56 for (auto s : make_range(equation_systems.n_systems())) in estimate_errors() 59 const System & sys = equation_systems.get_system(s); in estimate_errors() 93 void ErrorEstimator::estimate_errors(const EquationSystems & equation_systems, in estimate_errors() argument 101 for (auto s : make_range(equation_systems.n_systems())) in estimate_errors() 103 const System & sys = equation_systems.get_system(s); in estimate_errors()
|
/dports/math/libmesh/libmesh-1.6.2/examples/reduced_basis/reduced_basis_ex1/ |
H A D | reduced_basis_ex1.C | 128 EquationSystems equation_systems (mesh); in main() 133 equation_systems.add_system<SimpleRBConstruction> ("RBConvectionDiffusion"); in main() 136 equation_systems.init (); in main() 139 equation_systems.print_info(); in main() 233 ExodusII_IO(mesh).write_equation_systems ("RB_sol.e", equation_systems); in main() 240 ExodusII_IO(mesh).write_equation_systems ("bf0.e", equation_systems); in main()
|
/dports/math/libmesh/libmesh-1.6.2/examples/introduction/introduction_ex5/ |
H A D | introduction_ex5.C | 152 EquationSystems equation_systems (mesh); in main() 154 equation_systems.add_system<LinearImplicitSystem> ("Poisson"); in main() 156 unsigned int u_var = equation_systems.get_system("Poisson").add_variable("u", FIRST); in main() 158 equation_systems.get_system("Poisson").attach_assemble_function (assemble_poisson); in main() 193 equation_systems.get_system("Poisson").get_dof_map().add_dirichlet_boundary(dirichlet_bc); in main() 196 equation_systems.init(); in main() 198 equation_systems.print_info(); in main() 200 equation_systems.get_system("Poisson").solve(); in main() 209 equation_systems); in main()
|