Chi-Tech
chi_mesh::SnapToPlaneMeshModifier Class Reference

#include <SnapToPlaneMeshModifier.h>

Inheritance diagram for chi_mesh::SnapToPlaneMeshModifier:
chi_mesh::MeshModifier ChiObject

Public Member Functions

 SnapToPlaneMeshModifier (const chi::InputParameters &params)
 
void Apply () override
 
- Public Member Functions inherited from chi_mesh::MeshModifier
 MeshModifier (const chi::InputParameters &params)
 
virtual void Apply ()=0
 
virtual ~MeshModifier ()=default
 
- Public Member Functions inherited from ChiObject
 ChiObject ()
 
 ChiObject (const chi::InputParameters &params)
 
void SetStackID (size_t stack_id)
 
size_t StackID () const
 
virtual void PushOntoStack (std::shared_ptr< ChiObject > &new_object)
 
virtual ~ChiObject ()=default
 

Static Public Member Functions

static chi::InputParameters GetInputParameters ()
 
- Static Public Member Functions inherited from ChiObject
static chi::InputParameters GetInputParameters ()
 

Protected Attributes

const chi_mesh::Vector3 normal_
 
const chi_mesh::Vector3 point_
 
const bool boundary_nodes_only_ = true
 
const bool check_face_alignment_ = false
 
const double tol_ = 1.0e-5
 

Additional Inherited Members

- Protected Member Functions inherited from chi_mesh::MeshModifier
 MeshModifier ()=default
 

Detailed Description

Object that will modify boundary elements that are close to the specified direction to become perfectly aligned with that direction.

Definition at line 13 of file SnapToPlaneMeshModifier.h.

Constructor & Destructor Documentation

◆ SnapToPlaneMeshModifier()

chi_mesh::SnapToPlaneMeshModifier::SnapToPlaneMeshModifier ( const chi::InputParameters params)
explicit

Definition at line 51 of file SnapToPlaneMeshModifier.cc.

Member Function Documentation

◆ Apply()

void chi_mesh::SnapToPlaneMeshModifier::Apply ( )
overridevirtual

Implements chi_mesh::MeshModifier.

Definition at line 64 of file SnapToPlaneMeshModifier.cc.

◆ GetInputParameters()

chi::InputParameters chi_mesh::SnapToPlaneMeshModifier::GetInputParameters ( )
static

Definition at line 17 of file SnapToPlaneMeshModifier.cc.

Field Documentation

◆ boundary_nodes_only_

const bool chi_mesh::SnapToPlaneMeshModifier::boundary_nodes_only_ = true
protected

Definition at line 25 of file SnapToPlaneMeshModifier.h.

◆ check_face_alignment_

const bool chi_mesh::SnapToPlaneMeshModifier::check_face_alignment_ = false
protected

Definition at line 26 of file SnapToPlaneMeshModifier.h.

◆ normal_

const chi_mesh::Vector3 chi_mesh::SnapToPlaneMeshModifier::normal_
protected

Definition at line 23 of file SnapToPlaneMeshModifier.h.

◆ point_

const chi_mesh::Vector3 chi_mesh::SnapToPlaneMeshModifier::point_
protected

Definition at line 24 of file SnapToPlaneMeshModifier.h.

◆ tol_

const double chi_mesh::SnapToPlaneMeshModifier::tol_ = 1.0e-5
protected

Definition at line 27 of file SnapToPlaneMeshModifier.h.


The documentation for this class was generated from the following files: