https://mooseframework.inl.gov
Loading...
Searching...
No Matches
include
mfem
postprocessors
MFEMComplexVectorL2Error.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://mooseframework.inl.gov
3
//*
4
//* All rights reserved, see COPYRIGHT for full restrictions
5
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6
//*
7
//* Licensed under LGPL 2.1, please see LICENSE for details
8
//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10
#ifdef MOOSE_MFEM_ENABLED
11
12
#pragma once
13
14
#include "
MFEMPostprocessor.h
"
15
19
class
MFEMComplexVectorL2Error
:
public
MFEMPostprocessor
20
{
21
public
:
22
static
InputParameters
validParams
();
23
24
MFEMComplexVectorL2Error
(
const
InputParameters
&
parameters
);
25
29
virtual
PostprocessorValue
getValue
()
const
override
final
;
30
31
private
:
32
mfem::VectorCoefficient &
_vec_coeff_real
;
33
mfem::VectorCoefficient &
_vec_coeff_imag
;
34
mfem::ParComplexGridFunction &
_var
;
35
};
36
37
#endif
MFEMPostprocessor.h
PostprocessorValue
Real PostprocessorValue
various MOOSE typedefs
Definition
MooseTypes.h:230
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition
InputParameters.h:68
MFEMComplexVectorL2Error
Compute the L2 error for a complex vector variable.
Definition
MFEMComplexVectorL2Error.h:20
MFEMComplexVectorL2Error::getValue
virtual PostprocessorValue getValue() const override final
Get the L2 Error.
Definition
MFEMComplexVectorL2Error.C:42
MFEMComplexVectorL2Error::_var
mfem::ParComplexGridFunction & _var
Definition
MFEMComplexVectorL2Error.h:34
MFEMComplexVectorL2Error::validParams
static InputParameters validParams()
Definition
MFEMComplexVectorL2Error.C:18
MFEMComplexVectorL2Error::_vec_coeff_imag
mfem::VectorCoefficient & _vec_coeff_imag
Definition
MFEMComplexVectorL2Error.h:33
MFEMComplexVectorL2Error::_vec_coeff_real
mfem::VectorCoefficient & _vec_coeff_real
Definition
MFEMComplexVectorL2Error.h:32
MFEMPostprocessor
Postprocessor for MFEM results.
Definition
MFEMPostprocessor.h:22
MooseBase::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition
MooseBase.h:131
Generated on Sun Sep 6 2026 20:29:58 for https://mooseframework.inl.gov by
1.9.8