MFEM
v3.2
Finite element discretization library
Main Page
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
fem
plinearform.hpp
Go to the documentation of this file.
1
// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at
2
// the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights
3
// reserved. See file COPYRIGHT for details.
4
//
5
// This file is part of the MFEM library. For more information and source code
6
// availability see http://mfem.org.
7
//
8
// MFEM is free software; you can redistribute it and/or modify it under the
9
// terms of the GNU Lesser General Public License (as published by the Free
10
// Software Foundation) version 2.1 dated February 1999.
11
12
#ifndef MFEM_PLINEARFORM
13
#define MFEM_PLINEARFORM
14
15
#include "../config/config.hpp"
16
17
#ifdef MFEM_USE_MPI
18
19
#include "
pfespace.hpp
"
20
#include "
linearform.hpp
"
21
22
namespace
mfem
23
{
24
26
class
ParLinearForm
:
public
LinearForm
27
{
28
protected
:
29
ParFiniteElementSpace
*
pfes
;
30
31
public
:
32
ParLinearForm
() :
LinearForm
() {
pfes
= NULL; }
33
34
ParLinearForm
(
ParFiniteElementSpace
*pf) :
LinearForm
(pf) {
pfes
= pf; }
35
36
void
Update
(
ParFiniteElementSpace
*pf = NULL);
37
38
void
Update
(
ParFiniteElementSpace
*pf,
Vector
&v,
int
v_offset);
39
41
void
ParallelAssemble
(
Vector
&tv);
42
44
HypreParVector
*
ParallelAssemble
();
45
};
46
47
}
48
49
#endif // MFEM_USE_MPI
50
51
#endif
mfem::ParFiniteElementSpace
Abstract parallel finite element space.
Definition:
pfespace.hpp:28
mfem::ParLinearForm::ParLinearForm
ParLinearForm()
Definition:
plinearform.hpp:32
pfespace.hpp
mfem::ParLinearForm
Class for parallel linear form.
Definition:
plinearform.hpp:26
mfem::HypreParVector
Wrapper for hypre's parallel vector class.
Definition:
hypre.hpp:58
mfem::ParLinearForm::ParallelAssemble
HypreParVector * ParallelAssemble()
Returns the vector assembled on the true dofs, i.e. P^t v.
Definition:
plinearform.cpp:39
linearform.hpp
mfem::LinearForm::Update
void Update()
Definition:
linearform.hpp:59
mfem::ParLinearForm::ParLinearForm
ParLinearForm(ParFiniteElementSpace *pf)
Definition:
plinearform.hpp:34
mfem::ParLinearForm::pfes
ParFiniteElementSpace * pfes
Definition:
plinearform.hpp:29
mfem::Vector
Vector data type.
Definition:
vector.hpp:33
mfem::LinearForm
Class for linear form - Vector with associated FE space and LFIntegrators.
Definition:
linearform.hpp:23
Generated on Fri Feb 18 2022 19:00:30 for MFEM by
1.8.5