WarpX
Loading...
Searching...
No Matches
WarpXSolverDOF Struct Reference

This is contains the local and global DOF data that maps each grid location and component to its position in a serialized vector. More...

#include <WarpXSolverDOF.H>

Public Member Functions

void Define (WarpX *const, int, const std::string &, const std::string &)
 
void fill_local_dof (amrex::iMultiFab &dof, amrex::iMultiFab const &mask)
 
void fill_global_dof ()
 

Public Attributes

amrex::Vector< std::array< std::unique_ptr< amrex::iMultiFab >, 3 > > m_array
 
amrex::Vector< std::unique_ptr< amrex::iMultiFab > > m_scalar
 
warpx::fields::FieldType m_array_type = warpx::fields::FieldType::None
 
warpx::fields::FieldType m_scalar_type = warpx::fields::FieldType::None
 
amrex::Long m_nDoFs_l = 0
 
amrex::Long m_nDoFs_g = 0
 

Detailed Description

This is contains the local and global DOF data that maps each grid location and component to its position in a serialized vector.

Member Function Documentation

◆ Define()

void WarpXSolverDOF::Define ( WarpX * const a_WarpX,
int a_num_amr_levels,
const std::string & a_vector_type_name,
const std::string & a_scalar_type_name )

◆ fill_global_dof()

void WarpXSolverDOF::fill_global_dof ( )

◆ fill_local_dof()

void WarpXSolverDOF::fill_local_dof ( amrex::iMultiFab & dof,
amrex::iMultiFab const & mask )

Member Data Documentation

◆ m_array

amrex::Vector<std::array<std::unique_ptr<amrex::iMultiFab>,3> > WarpXSolverDOF::m_array

◆ m_array_type

◆ m_nDoFs_g

amrex::Long WarpXSolverDOF::m_nDoFs_g = 0

Global nDOF

◆ m_nDoFs_l

amrex::Long WarpXSolverDOF::m_nDoFs_l = 0

Local nDOF

◆ m_scalar

amrex::Vector<std::unique_ptr<amrex::iMultiFab> > WarpXSolverDOF::m_scalar

◆ m_scalar_type


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