Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
sysboundary.cpp File Reference

Implementation of the class SysBoundary. More...

#include <cstdlib>
#include <iostream>
#include "../grid.h"
#include "../object_wrapper.h"
#include "../vlasovsolver/arch_moments.h"
#include "donotcompute.h"
#include "ionosphere.h"
#include "copysphere.h"
#include "outflow.h"
#include "setmaxwellian.h"
#include "sysboundary.h"
#include "../fieldsolver/gridGlue.hpp"
Include dependency graph for sysboundary.cpp:

Go to the source code of this file.

Functions

bool precedenceSort (const SBC::SysBoundaryCondition *first, const SBC::SysBoundaryCondition *second)
bool belongsToLayer (const int layer, const int x, const int y, const int z, fsgrids::technicalspan technical, const fsgrid::FsStencil &stencil)
void getBoundaryCellList (const dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid, const vector< uint64_t > &cellList, vector< uint64_t > &boundaryCellList)

Detailed Description

Implementation of the class SysBoundary.

Definition in file sysboundary.cpp.

Function Documentation

◆ belongsToLayer()

bool belongsToLayer ( const int layer,
const int x,
const int y,
const int z,
fsgrids::technicalspan technical,
const fsgrid::FsStencil & stencil )

Definition at line 319 of file sysboundary.cpp.

Here is the caller graph for this function:

◆ getBoundaryCellList()

void getBoundaryCellList ( const dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > & mpiGrid,
const vector< uint64_t > & cellList,
vector< uint64_t > & boundaryCellList )

Get a vector containing the cellID of all cells which are not DO_NOT_COMPUTE or NOT_SYSBOUNDARY in the vector of cellIDs passed to the function.

Parameters
mpiGridGrid
cellListVector of cellIDs in which to look for boundary cells
boundaryCellListVector of boundary the cells' cellIDs

Definition at line 775 of file sysboundary.cpp.

◆ precedenceSort()

bool precedenceSort ( const SBC::SysBoundaryCondition * first,
const SBC::SysBoundaryCondition * second )

Definition at line 45 of file sysboundary.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: