MFEM
v4.8.0
Finite element discretization library
Toggle main menu visibility
Main Page
Related Pages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
x
Enumerations
a
b
c
d
e
f
g
i
j
m
o
q
r
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Symbols
a
b
d
e
f
g
h
i
l
m
n
p
q
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
i
k
m
n
o
p
q
r
s
v
w
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
p
s
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
Loading...
Searching...
No Matches
miniapps
spde
visualizer.hpp
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 "
mfem.hpp
"
13
14
namespace
mfem
15
{
16
namespace
spde
17
{
18
19
class
Visualizer
20
{
21
public
:
22
Visualizer
(
ParMesh
&mesh,
int
order,
GridFunction
&g1,
GridFunction
&g2,
23
GridFunction
&g3,
GridFunction
&g4,
bool
is_3D =
true
)
24
: mesh_(&mesh),
25
order_(order),
26
g1_(g1),
27
g2_(g2),
28
g3_(g3),
29
g4_(g4),
30
is_3D_(is_3D) {}
22
Visualizer
(
ParMesh
&mesh,
int
order,
GridFunction
&g1,
GridFunction
&g2, {
…
}
31
32
void
ExportToParaView
();
33
void
SendToGLVis
(
int
visport = 19916)
const
;
34
35
private
:
36
ParMesh
*mesh_;
37
int
order_;
38
GridFunction
&g1_;
39
GridFunction
&g2_;
40
GridFunction
&g3_;
41
GridFunction
&g4_;
42
bool
is_3D_;
43
};
19
class
Visualizer
{
…
};
44
45
}
// namespace spde
46
}
// namespace mfem
mfem::GridFunction
Class for grid function - Vector with associated FE space.
Definition
gridfunc.hpp:31
mfem::ParMesh
Class for parallel meshes.
Definition
pmesh.hpp:34
mfem::spde::Visualizer
Definition
visualizer.hpp:20
mfem::spde::Visualizer::SendToGLVis
void SendToGLVis(int visport=19916) const
Definition
visualizer.cpp:39
mfem::spde::Visualizer::Visualizer
Visualizer(ParMesh &mesh, int order, GridFunction &g1, GridFunction &g2, GridFunction &g3, GridFunction &g4, bool is_3D=true)
Definition
visualizer.hpp:22
mfem::spde::Visualizer::ExportToParaView
void ExportToParaView()
Definition
visualizer.cpp:20
mfem.hpp
mfem
Definition
CodeDocumentation.dox:1
Generated on Wed Apr 9 2025 16:53:05 for MFEM by
1.11.0