https://mooseframework.inl.gov
Loading...
Searching...
No Matches
XFEMCutMeshOutput.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#pragma once
10
11// MOOSE includes
12#include "FileOutput.h"
13#include "UserObjectInterface.h"
14
15// libMesh includes
16#include "libmesh/exodusII_io.h"
17
18// Forward declarations
20
26{
27public:
29
31
32 virtual std::string filename() override;
33
34 virtual void output() override;
35
36private:
39
41 std::unique_ptr<libMesh::EquationSystems> _es;
42
44 std::unique_ptr<libMesh::ExodusII_IO> _exodus_io;
45};
Simple base class for XFEM cutting objects that use a mesh to cut.
const InputParameters & parameters() const
Outputs the cutting mesh used by XFEM to an Exodus file.
virtual std::string filename() override
const MeshCutUserObjectBase & _cutter_uo
The mesh cutting user object.
static InputParameters validParams()
std::unique_ptr< libMesh::EquationSystems > _es
The EquationSystems.
std::unique_ptr< libMesh::ExodusII_IO > _exodus_io
Exodus for outputting points and values.
virtual void output() override