MFEM
v4.9.0
Finite element discretization library
Loading...
Searching...
No Matches
fem
moonolith
transfer.cpp
Go to the documentation of this file.
1
// Copyright (c) 2010-2025, Lawrence Livermore National Security, LLC. Produced
2
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
3
// LICENSE and NOTICE for details. LLNL-CODE-806117.
4
//
5
// This file is part of the MFEM library. For more information and source code
6
// availability visit https://mfem.org.
7
//
8
// MFEM is free software; you can redistribute it and/or modify it under the
9
// terms of the BSD-3 license. We welcome feedback and contributions, see file
10
// CONTRIBUTING.md for details.
11
12
#include "
../../config/config.hpp
"
13
14
#ifdef MFEM_USE_MOONOLITH
15
16
#include "
transfer.hpp
"
17
18
#include "par_moonolith_instance.hpp"
19
20
namespace
mfem
21
{
22
23
void
InitTransfer
(
int
argc,
char
*argv[])
24
{
25
moonolith::Moonolith::Init(argc, argv);
26
}
27
int
FinalizeTransfer
() {
return
moonolith::Moonolith::Finalize(); }
28
29
#ifdef MFEM_USE_MPI
30
void
InitTransfer
(
int
argc,
char
*argv[], MPI_Comm comm)
31
{
32
moonolith::Moonolith::Init(argc, argv, comm);
33
}
34
#endif
35
36
}
// namespace mfem
37
38
#endif
// MFEM_USE_MOONOLITH
config.hpp
transfer.hpp
mfem
Definition
CodeDocumentation.dox:1
mfem::InitTransfer
void InitTransfer(int argc, char *argv[])
Initializes the par_moonolith library. It also calls MPI_Init.
Definition
transfer.cpp:23
mfem::FinalizeTransfer
int FinalizeTransfer()
Finalize the par_moonolith library.
Definition
transfer.cpp:27
Generated on Thu Dec 11 2025 11:52:54 for MFEM by
1.11.0