MFEM
v4.6.0
Finite element discretization library
fem
moonolith
transfer.hpp
Go to the documentation of this file.
1
// Copyright (c) 2010-2023, 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
#ifndef MFEM_TRANSFER
13
#define MFEM_TRANSFER
14
15
#include "../fem.hpp"
16
17
#ifdef MFEM_USE_MOONOLITH
18
#include "
mortarassembler.hpp
"
19
#ifdef MFEM_USE_MPI
20
#include "
pmortarassembler.hpp
"
21
#endif // MFEM_USE_MPI
22
#endif // MFEM_USE_MOONOLITH
23
24
namespace
mfem
25
{
26
27
/*!
28
* @brief Initializes the par_moonolith library. It also calls MPI_Init.
29
* @param argc Standard argument passed to the main function.
30
* @param argv Standard argument passed to the main function.
31
*/
32
void
InitTransfer
(
int
argc,
char
*argv[]);
33
34
/*!
35
* @brief Finalize the par_moonolith library.
36
* @return Zero if everything has succeeded.
37
*/
38
int
FinalizeTransfer
();
39
40
#ifdef MFEM_USE_MPI
41
/*!
42
* @brief Initializes the transfer library. It does not call MPI_Init, but uses
43
* the communicator defined by the user. This method can be called only after
44
* MPI_Init.
45
* @param argc Standard argument passed to the main function.
46
* @param argv Standard argument passed to the main function.
47
* @param comm The user defined communicator.
48
*/
49
void
InitTransfer
(
int
argc,
char
*argv[], MPI_Comm comm);
50
#endif
51
52
}
// namespace mfem
53
54
#endif // MFEM_TRANSFER
pmortarassembler.hpp
mortarassembler.hpp
mfem::InitTransfer
void InitTransfer(int argc, char *argv[])
Initializes the par_moonolith library. It also calls MPI_Init.
Definition:
transfer.cpp:19
mfem
Definition:
CodeDocumentation.dox:1
mfem::FinalizeTransfer
int FinalizeTransfer()
Finalize the par_moonolith library.
Definition:
transfer.cpp:23
Generated on Wed Sep 27 2023 14:52:31 for MFEM by
1.8.14