Chi-Tech
|
#include <FromFileMeshGenerator.h>
Public Member Functions | |
FromFileMeshGenerator (const chi::InputParameters ¶ms) | |
Public Member Functions inherited from chi_mesh::MeshGenerator | |
virtual void | Execute () |
MeshGenerator (const chi::InputParameters ¶ms) | |
virtual std::unique_ptr< UnpartitionedMesh > | GenerateUnpartitionedMesh (std::unique_ptr< UnpartitionedMesh > input_umesh) |
Public Member Functions inherited from ChiObject | |
ChiObject () | |
ChiObject (const chi::InputParameters ¶ms) | |
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 chi_mesh::MeshGenerator | |
static chi::InputParameters | GetInputParameters () |
Static Public Member Functions inherited from ChiObject | |
static chi::InputParameters | GetInputParameters () |
Protected Member Functions | |
std::unique_ptr< UnpartitionedMesh > | GenerateUnpartitionedMesh (std::unique_ptr< UnpartitionedMesh > input_umesh) override |
Protected Member Functions inherited from chi_mesh::MeshGenerator | |
std::vector< int64_t > | PartitionMesh (const UnpartitionedMesh &input_umesh, int num_partitions) |
std::shared_ptr< MeshContinuum > | SetupMesh (std::unique_ptr< UnpartitionedMesh > input_umesh_ptr, const std::vector< int64_t > &cell_pids) |
bool | CellHasLocalScope (int location_id, const chi_mesh::UnpartitionedMesh::LightWeightCell &lwcell, uint64_t cell_global_id, const std::vector< std::set< uint64_t > > &vertex_subscriptions, const std::vector< int64_t > &cell_partition_ids) const |
Protected Attributes | |
const std::string | filename_ |
const std::string | material_id_fieldname_ |
const std::string | boundary_id_fieldname_ |
Protected Attributes inherited from chi_mesh::MeshGenerator | |
const double | scale_ |
const bool | replicated_ |
std::vector< MeshGenerator * > | inputs_ |
chi::GraphPartitioner * | partitioner_ = nullptr |
Additional Inherited Members | |
Static Protected Member Functions inherited from chi_mesh::MeshGenerator | |
static void | BroadcastPIDs (std::vector< int64_t > &cell_pids, int root, MPI_Comm communicator) |
static std::unique_ptr< chi_mesh::Cell > | SetupCell (const UnpartitionedMesh::LightWeightCell &raw_cell, uint64_t global_id, uint64_t partition_id, const VertexListHelper &vertices) |
static void | SetGridAttributes (chi_mesh::MeshContinuum &grid, MeshAttributes new_attribs, std::array< size_t, 3 > ortho_cells_per_dimension) |
static void | ComputeAndPrintStats (const chi_mesh::MeshContinuum &grid) |
Definition at line 9 of file FromFileMeshGenerator.h.
|
explicit |
Definition at line 37 of file FromFileMeshGenerator.cc.
|
overrideprotectedvirtual |
Virtual method to generate the unpartitioned mesh for the next step.
Default behavior here is to return the input umesh unaltered.
Reimplemented from chi_mesh::MeshGenerator.
Definition at line 50 of file FromFileMeshGenerator.cc.
|
static |
Definition at line 17 of file FromFileMeshGenerator.cc.
|
protected |
Definition at line 20 of file FromFileMeshGenerator.h.
|
protected |
Definition at line 18 of file FromFileMeshGenerator.h.
|
protected |
Definition at line 19 of file FromFileMeshGenerator.h.