#include <deal.II/base/quadrature_lib.h>
#include <deal.II/base/function.h>
-#include <deal.II/base/mpi.h>
#include <deal.II/base/timer.h>
#include <deal.II/base/utilities.h>
} // namespace Step77
-int main(int argc, char **argv)
+int main()
{
try
{
using namespace Step77;
-#ifdef DEAL_II_WITH_MPI
- dealii::Utilities::MPI::MPI_InitFinalize mpi_initialization(argc,
- argv,
- 1);
-#else
- (void)argc;
- (void)argv;
-#endif
MinimalSurfaceProblem<2> laplace_problem_2d;
laplace_problem_2d.run();
* y[1](t) = k cos(k t)
*/
int
-main(int argc, char **argv)
+main()
{
initlog();
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
using VectorType = Vector<double>;
ParameterHandler prm;
* y[1](t) = k cos(k t)
*/
int
-main(int argc, char **argv)
+main()
{
initlog();
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
using VectorType = Vector<double>;
ParameterHandler prm;
* eps in right hand side of the third equation).
*/
int
-main(int argc, char **argv)
+main()
{
initlog();
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
using VectorType = LinearAlgebra::distributed::Vector<double>;
ParameterHandler prm;
* eps in right hand side of the third equation).
*/
int
-main(int argc, char **argv)
+main()
{
initlog();
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
using VectorType = Vector<double>;
ParameterHandler prm;
* eps in right hand side of the third equation).
*/
int
-main(int argc, char **argv)
+main()
{
initlog();
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
using VectorType = Vector<double>;
ParameterHandler prm;
* eps in right hand side of the third equation).
*/
int
-main(int argc, char **argv)
+main()
{
initlog();
// restrict output to highest level
deallog.depth_file(1);
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
using VectorType = Vector<double>;
ParameterHandler prm;
* eps in right hand side of the third equation).
*/
int
-main(int argc, char **argv)
+main()
{
initlog();
// restrict output to highest level
deallog.depth_file(1);
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
using VectorType = Vector<double>;
ParameterHandler prm;
* with SUNDIALS nomenclature.
*/
int
-main(int argc, char **argv)
+main()
{
initlog();
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
using VectorType = Vector<double>;
ParameterHandler prm;
}
int
-main(int argc, char **argv)
+main()
{
initlog();
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
auto ode = create_solver();
{
Vector<double> y(2);
int
-main(int argc, char **argv)
+main()
{
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
initlog();
deallog << std::setprecision(10);
int
-main(int argc, char **argv)
+main()
{
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
initlog();
deallog << std::setprecision(10);
* Run statistics (optional outputs) are printed at the end.
*/
int
-main(int argc, char **argv)
+main()
{
initlog();
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
using VectorType = Vector<double>;
SUNDIALS::KINSOL<VectorType>::AdditionalData data;
// N_i(u) = .1*u_i^2 - i - 1
//
int
-main(int argc, char **argv)
+main()
{
initlog();
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
using VectorType = Vector<double>;
// Size of the problem
// know what to linearize around. The _04 test fixes this by computing
// the Jacobian in the setup function.
int
-main(int argc, char **argv)
+main()
{
initlog();
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
using VectorType = Vector<double>;
SUNDIALS::KINSOL<VectorType>::AdditionalData data;
// know what to linearize around. The _04 test fixes this by computing
// the Jacobian in the setup function.
int
-main(int argc, char **argv)
+main()
{
initlog();
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
using VectorType = Vector<double>;
SUNDIALS::KINSOL<VectorType>::AdditionalData data;
// iteration and, unsurprisingly, converges much quicker.
int
-main(int argc, char **argv)
+main()
{
initlog();
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
using VectorType = Vector<double>;
SUNDIALS::KINSOL<VectorType>::AdditionalData data;
// iteration and, unsurprisingly, converges much quicker.
int
-main(int argc, char **argv)
+main()
{
initlog();
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
using VectorType = Vector<double>;
SUNDIALS::KINSOL<VectorType>::AdditionalData data;
// finally updates it in every iteration.
int
-main(int argc, char **argv)
+main()
{
initlog();
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
using VectorType = Vector<double>;
SUNDIALS::KINSOL<VectorType>::AdditionalData data;
// finally updates it in every iteration.
int
-main(int argc, char **argv)
+main()
{
initlog();
- Utilities::MPI::MPI_InitFinalize mpi_initialization(
- argc, argv, numbers::invalid_unsigned_int);
-
using VectorType = Vector<double>;
SUNDIALS::KINSOL<VectorType>::AdditionalData data;
int
-main(int argc, char **argv)
+main()
{
initlog();
using namespace Step77;
- // SUNDIALS will duplicate communicators even if we are running in serial
-#ifdef DEAL_II_WITH_MPI
- dealii::Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
-#else
- (void)argc;
- (void)argv;
-#endif
MinimalSurfaceProblem<2> laplace_problem_2d;
laplace_problem_2d.run();